Updated to layer 73

This commit is contained in:
Daniil Gentili 2017-11-15 12:41:58 +00:00
parent 3152a8c466
commit 3aa60e8d31
1147 changed files with 50776 additions and 217 deletions

View File

@ -170,7 +170,7 @@ It is **strongly** recommended to serialize the session with `$MadelineProto->se
## Methods
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 71)](https://daniil.it/MadelineProto/API_docs/).
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 73)](https://daniil.it/MadelineProto/API_docs/).
If an object of type User, InputUser, Chat, InputChannel, Peer or InputPeer must be provided as a parameter to a method, you can substitute it with the user/group/channel's username (`@username`) or bot API id (`-1029449`, `1249421`, `-100412412901`).
@ -361,10 +361,10 @@ Here are the default values for the settings arrays and explanations for every s
'lang_code' => $lang_code,
],
'tl_schema' => [ // TL scheme files
'layer' => 72, // layer version
'layer' => 73, // layer version
'src' => [
'mtproto' => __DIR__.'/TL_mtproto_v1.json', // mtproto TL scheme
'telegram' => __DIR__.'/TL_telegram_v72.tl', // telegram TL scheme
'telegram' => __DIR__.'/TL_telegram_v73.tl', // telegram TL scheme
'secret' => __DIR__.'/TL_secret.tl', // secret chats TL scheme
'calls' => __DIR__.'/TL_calls.tl', // calls TL scheme
'botAPI' => __DIR__.'/TL_botAPI.tl', // bot API TL scheme for file ids

View File

@ -54,7 +54,7 @@ while (true) {
if (isset($update['update']['message']['media']) && ($update['update']['message']['media']['_'] == 'messageMediaPhoto' || $update['update']['message']['media']['_'] == 'messageMediaDocument')) {
$time = time();
$file = $MadelineProto->download_to_dir($update['update']['message']['media'], '/tmp');
$MadelineProto->messages->sendMessage(['peer' => isset($update['update']['message']['from_id']) ? $update['update']['message']['from_id'] : $update['update']['message']['to_id'], 'message' => 'Downloaded to '.$file.' in '.(time() - $time).' seconds', 'reply_to_msg_id' => $update['update']['message']['id'], 'entities' => [['_' => 'messageEntityPre', 'offset' => 0, 'length' => strlen($res), 'language' => 'json']]]);
// $MadelineProto->messages->sendMessage(['peer' => isset($update['update']['message']['from_id']) ? $update['update']['message']['from_id'] : $update['update']['message']['to_id'], 'message' => 'Downloaded to '.$file.' in '.(time() - $time).' seconds', 'reply_to_msg_id' => $update['update']['message']['id'], 'entities' => [['_' => 'messageEntityPre', 'offset' => 0, 'length' => strlen($res), 'language' => 'json']]]);
}
} catch (\danog\MadelineProto\RPCErrorException $e) {
$MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' => $e->getCode().': '.$e->getMessage().PHP_EOL.$e->getTraceAsString()]);

View File

@ -40,9 +40,9 @@ $docs = [
'readme' => false,
],
[
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v72.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 72)',
'description' => 'MadelineProto API documentation (layer 72)',
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v73.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 73)',
'description' => 'MadelineProto API documentation (layer 73)',
'output_dir' => __DIR__.'/docs/API_docs',
'readme' => false,
],

View File

@ -31,6 +31,7 @@ description: channel attributes, type and example
|restriction\_reason|[string](../types/string.md) | Optional|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Optional|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Optional|
|participants\_count|[int](../types/int.md) | Optional|
@ -40,13 +41,13 @@ description: channel attributes, type and example
### Example:
```
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'editor' => 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];
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'editor' => 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, 'participants_count' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channel", "creator": Bool, "left": Bool, "editor": 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}
{"_": "channel", "creator": Bool, "left": Bool, "editor": 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, "participants_count": int}
```
@ -54,7 +55,7 @@ Or, if you're into Lua:
```
channel={_='channel', creator=Bool, left=Bool, editor=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}
channel={_='channel', creator=Bool, left=Bool, editor=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, participants_count=int}
```

View File

@ -50,11 +50,6 @@ description: List of constructors
***
<br><br>[$authorization](../constructors/authorization.md) = \['hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="authorization"></a>
***
<br><br>[$bad\_msg\_notification](../constructors/bad_msg_notification.md) = \['bad_msg_id' => [long](../types/long.md), 'bad_msg_seqno' => [int](../types/int.md), 'error_code' => [int](../types/int.md), \];<a name="bad_msg_notification"></a>
[$bad\_server\_salt](../constructors/bad_server_salt.md) = \['bad_msg_id' => [long](../types/long.md), 'bad_msg_seqno' => [int](../types/int.md), 'error_code' => [int](../types/int.md), 'new_server_salt' => [long](../types/long.md), \];<a name="bad_server_salt"></a>
***
<br><br>[$boolFalse](../constructors/boolFalse.md) = \[\];<a name="boolFalse"></a>
@ -98,7 +93,7 @@ description: List of constructors
<br><br>[$cdnPublicKey](../constructors/cdnPublicKey.md) = \['dc_id' => [int](../types/int.md), 'public_key' => [string](../types/string.md), \];<a name="cdnPublicKey"></a>
***
<br><br>[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'admin_rights' => [ChannelAdminRights](../types/ChannelAdminRights.md), 'banned_rights' => [ChannelBannedRights](../types/ChannelBannedRights.md), \];<a name="channel"></a>
<br><br>[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'admin_rights' => [ChannelAdminRights](../types/ChannelAdminRights.md), 'banned_rights' => [ChannelBannedRights](../types/ChannelBannedRights.md), 'participants_count' => [int](../types/int.md), \];<a name="channel"></a>
***
<br><br>[$channelAdminLogEvent](../constructors/channelAdminLogEvent.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md), \];<a name="channelAdminLogEvent"></a>
@ -259,9 +254,6 @@ description: List of constructors
***
<br><br>[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\];<a name="chatPhotoEmpty"></a>
***
<br><br>[$client\_DH\_inner\_data](../constructors/client_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'retry_id' => [long](../types/long.md), 'g_b' => [string](../types/string.md), \];<a name="client_DH_inner_data"></a>
***
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'stickers_faved_limit' => [int](../types/int.md), 'channels_read_media_period' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
@ -394,24 +386,6 @@ description: List of constructors
***
<br><br>[$decryptedMessageService\_17](../constructors/decryptedMessageService_17.md) = \['action' => [DecryptedMessageAction](../types/DecryptedMessageAction.md), \];<a name="decryptedMessageService_17"></a>
***
<br><br>[$destroy\_auth\_key\_fail](../constructors/destroy_auth_key_fail.md) = \[\];<a name="destroy_auth_key_fail"></a>
[$destroy\_auth\_key\_none](../constructors/destroy_auth_key_none.md) = \[\];<a name="destroy_auth_key_none"></a>
[$destroy\_auth\_key\_ok](../constructors/destroy_auth_key_ok.md) = \[\];<a name="destroy_auth_key_ok"></a>
[$destroy\_session\_none](../constructors/destroy_session_none.md) = \['session_id' => [long](../types/long.md), \];<a name="destroy_session_none"></a>
[$destroy\_session\_ok](../constructors/destroy_session_ok.md) = \['session_id' => [long](../types/long.md), \];<a name="destroy_session_ok"></a>
***
<br><br>[$dh\_gen\_fail](../constructors/dh_gen_fail.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash3' => [int128](../types/int128.md), \];<a name="dh_gen_fail"></a>
[$dh\_gen\_ok](../constructors/dh_gen_ok.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash1' => [int128](../types/int128.md), \];<a name="dh_gen_ok"></a>
[$dh\_gen\_retry](../constructors/dh_gen_retry.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash2' => [int128](../types/int128.md), \];<a name="dh_gen_retry"></a>
***
<br><br>[$dialog](../constructors/dialog.md) = \['pinned' => [Bool](../types/Bool.md), 'peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), \];<a name="dialog"></a>
@ -496,11 +470,6 @@ description: List of constructors
***
<br><br>[$foundGifCached](../constructors/foundGifCached.md) = \['url' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \];<a name="foundGifCached"></a>
***
<br><br>[$future\_salt](../constructors/future_salt.md) = \['valid_since' => [int](../types/int.md), 'valid_until' => [int](../types/int.md), 'salt' => [long](../types/long.md), \];<a name="future_salt"></a>
[$future\_salts](../constructors/future_salts.md) = \['req_msg_id' => [long](../types/long.md), 'now' => [int](../types/int.md), 'salts' => \[[future\_salt](../constructors/future_salt.md)\], \];<a name="future_salts"></a>
***
<br><br>[$game](../constructors/game.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'short_name' => [string](../types/string.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'document' => [Document](../types/Document.md), \];<a name="game"></a>
@ -513,8 +482,6 @@ description: List of constructors
***
<br><br>[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \];<a name="help_appUpdate"></a>
[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../constructors/ipPort.md)\], \];<a name="help_configSimple"></a>
[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \];<a name="help_inviteText"></a>
[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\];<a name="help_noAppUpdate"></a>
@ -528,9 +495,6 @@ description: List of constructors
***
<br><br>[$highScore](../constructors/highScore.md) = \['pos' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'score' => [int](../types/int.md), \];<a name="highScore"></a>
***
<br><br>[$http\_wait](../constructors/http_wait.md) = \['max_delay' => [int](../types/int.md), 'wait_after' => [int](../types/int.md), 'max_wait' => [int](../types/int.md), \];<a name="http_wait"></a>
***
<br><br>[$importedContact](../constructors/importedContact.md) = \['user_id' => [int](../types/int.md), 'client_id' => [long](../types/long.md), \];<a name="importedContact"></a>
@ -670,7 +634,7 @@ description: List of constructors
<br><br>[$inputMediaPhotoExternal](../constructors/inputMediaPhotoExternal.md) = \['url' => [string](../types/string.md), 'caption' => [string](../types/string.md), 'ttl_seconds' => [int](../types/int.md), \];<a name="inputMediaPhotoExternal"></a>
***
<br><br>[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), 'stickers' => \[[InputDocument](../types/InputDocument.md)\], 'ttl_seconds' => [int](../types/int.md), \];<a name="inputMediaUploadedDocument"></a>
<br><br>[$inputMediaUploadedDocument](../constructors/inputMediaUploadedDocument.md) = \['nosound_video' => [Bool](../types/Bool.md), 'file' => [InputFile](../types/InputFile.md), 'thumb' => [InputFile](../types/InputFile.md), 'mime_type' => [string](../types/string.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], 'caption' => [string](../types/string.md), 'stickers' => \[[InputDocument](../types/InputDocument.md)\], 'ttl_seconds' => [int](../types/int.md), \];<a name="inputMediaUploadedDocument"></a>
***
<br><br>[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'stickers' => \[[InputDocument](../types/InputDocument.md)\], 'ttl_seconds' => [int](../types/int.md), \];<a name="inputMediaUploadedPhoto"></a>
@ -825,6 +789,9 @@ description: List of constructors
***
<br><br>[$inputReportReasonViolence](../constructors/inputReportReasonViolence.md) = \[\];<a name="inputReportReasonViolence"></a>
***
<br><br>[$inputSingleMedia](../constructors/inputSingleMedia.md) = \['media' => [InputMedia](../types/InputMedia.md), \];<a name="inputSingleMedia"></a>
***
<br><br>[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\];<a name="inputStickerSetEmpty"></a>
@ -861,9 +828,6 @@ description: List of constructors
***
<br><br>[$invoice](../constructors/invoice.md) = \['test' => [Bool](../types/Bool.md), 'name_requested' => [Bool](../types/Bool.md), 'phone_requested' => [Bool](../types/Bool.md), 'email_requested' => [Bool](../types/Bool.md), 'shipping_address_requested' => [Bool](../types/Bool.md), 'flexible' => [Bool](../types/Bool.md), 'currency' => [string](../types/string.md), 'prices' => \[[LabeledPrice](../types/LabeledPrice.md)\], \];<a name="invoice"></a>
***
<br><br>[$ipPort](../constructors/ipPort.md) = \['ipv4' => [int](../types/int.md), 'port' => [int](../types/int.md), \];<a name="ipPort"></a>
***
<br><br>[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \];<a name="keyboardButton"></a>
@ -913,7 +877,7 @@ description: List of constructors
<br><br>[$maskCoords](../constructors/maskCoords.md) = \['n' => [int](../types/int.md), 'x' => [double](../types/double.md), 'y' => [double](../types/double.md), 'zoom' => [double](../types/double.md), \];<a name="maskCoords"></a>
***
<br><br>[$message](../constructors/message.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), 'post_author' => [string](../types/string.md), \];<a name="message"></a>
<br><br>[$message](../constructors/message.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'fwd_from' => [MessageFwdHeader](../types/MessageFwdHeader.md), 'via_bot_id' => [int](../types/int.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'message' => [string](../types/string.md), 'media' => [MessageMedia](../types/MessageMedia.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'views' => [int](../types/int.md), 'edit_date' => [int](../types/int.md), 'post_author' => [string](../types/string.md), 'grouped_id' => [long](../types/long.md), \];<a name="message"></a>
***
<br><br>[$messageActionChannelCreate](../constructors/messageActionChannelCreate.md) = \['title' => [string](../types/string.md), \];<a name="messageActionChannelCreate"></a>
@ -1012,7 +976,7 @@ description: List of constructors
<br><br>[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityUrl"></a>
***
<br><br>[$messageFwdHeader](../constructors/messageFwdHeader.md) = \['from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'channel_post' => [int](../types/int.md), 'post_author' => [string](../types/string.md), \];<a name="messageFwdHeader"></a>
<br><br>[$messageFwdHeader](../constructors/messageFwdHeader.md) = \['from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'channel_post' => [int](../types/int.md), 'post_author' => [string](../types/string.md), 'saved_from_peer' => [Peer](../types/Peer.md), 'saved_from_msg_id' => [int](../types/int.md), \];<a name="messageFwdHeader"></a>
***
<br><br>[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \];<a name="messageMediaContact"></a>
@ -1126,28 +1090,9 @@ description: List of constructors
[$messages\_stickersNotModified](../constructors/messages_stickersNotModified.md) = \[\];<a name="messages_stickersNotModified"></a>
***
<br><br>[$msg\_detailed\_info](../constructors/msg_detailed_info.md) = \['msg_id' => [long](../types/long.md), 'answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \];<a name="msg_detailed_info"></a>
[$msg\_new\_detailed\_info](../constructors/msg_new_detailed_info.md) = \['answer_msg_id' => [long](../types/long.md), 'bytes' => [int](../types/int.md), 'status' => [int](../types/int.md), \];<a name="msg_new_detailed_info"></a>
[$msg\_resend\_req](../constructors/msg_resend_req.md) = \['msg_ids' => \[[long](../types/long.md)\], \];<a name="msg_resend_req"></a>
***
<br><br>[$msgs\_ack](../constructors/msgs_ack.md) = \['msg_ids' => \[[long](../types/long.md)\], \];<a name="msgs_ack"></a>
[$msgs\_all\_info](../constructors/msgs_all_info.md) = \['msg_ids' => \[[long](../types/long.md)\], 'info' => [string](../types/string.md), \];<a name="msgs_all_info"></a>
[$msgs\_state\_info](../constructors/msgs_state_info.md) = \['req_msg_id' => [long](../types/long.md), 'info' => [string](../types/string.md), \];<a name="msgs_state_info"></a>
[$msgs\_state\_req](../constructors/msgs_state_req.md) = \['msg_ids' => \[[long](../types/long.md)\], \];<a name="msgs_state_req"></a>
***
<br><br>[$nearestDc](../constructors/nearestDc.md) = \['country' => [string](../types/string.md), 'this_dc' => [int](../types/int.md), 'nearest_dc' => [int](../types/int.md), \];<a name="nearestDc"></a>
***
<br><br>[$new\_session\_created](../constructors/new_session_created.md) = \['first_msg_id' => [long](../types/long.md), 'unique_id' => [long](../types/long.md), 'server_salt' => [long](../types/long.md), \];<a name="new_session_created"></a>
***
<br><br>[$notifyAll](../constructors/notifyAll.md) = \[\];<a name="notifyAll"></a>
@ -1163,9 +1108,6 @@ description: List of constructors
***
<br><br>[$null](../constructors/null.md) = \[\];<a name="null"></a>
***
<br><br>[$p\_q\_inner\_data](../constructors/p_q_inner_data.md) = \['pq' => [string](../types/string.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce' => [int256](../types/int256.md), \];<a name="p_q_inner_data"></a>
***
<br><br>[$pageBlockAnchor](../constructors/pageBlockAnchor.md) = \['name' => [string](../types/string.md), \];<a name="pageBlockAnchor"></a>
@ -1348,9 +1290,6 @@ description: List of constructors
[$photos\_photosSlice](../constructors/photos_photosSlice.md) = \['count' => [int](../types/int.md), 'photos' => \[[Photo](../types/Photo.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="photos_photosSlice"></a>
***
<br><br>[$pong](../constructors/pong.md) = \['msg_id' => [long](../types/long.md), 'ping_id' => [long](../types/long.md), \];<a name="pong"></a>
***
<br><br>[$popularContact](../constructors/popularContact.md) = \['client_id' => [long](../types/long.md), 'importers' => [int](../types/int.md), \];<a name="popularContact"></a>
@ -1414,18 +1353,6 @@ description: List of constructors
***
<br><br>[$replyKeyboardMarkup](../constructors/replyKeyboardMarkup.md) = \['resize' => [Bool](../types/Bool.md), 'single_use' => [Bool](../types/Bool.md), 'selective' => [Bool](../types/Bool.md), 'rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \];<a name="replyKeyboardMarkup"></a>
***
<br><br>[$resPQ](../constructors/resPQ.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'pq' => [string](../types/string.md), 'server_public_key_fingerprints' => \[[long](../types/long.md)\], \];<a name="resPQ"></a>
***
<br><br>[$rpc\_answer\_dropped](../constructors/rpc_answer_dropped.md) = \['msg_id' => [long](../types/long.md), 'seq_no' => [int](../types/int.md), 'bytes' => [int](../types/int.md), \];<a name="rpc_answer_dropped"></a>
[$rpc\_answer\_dropped\_running](../constructors/rpc_answer_dropped_running.md) = \[\];<a name="rpc_answer_dropped_running"></a>
[$rpc\_answer\_unknown](../constructors/rpc_answer_unknown.md) = \[\];<a name="rpc_answer_unknown"></a>
[$rpc\_error](../constructors/rpc_error.md) = \['error_code' => [int](../types/int.md), 'error_message' => [string](../types/string.md), \];<a name="rpc_error"></a>
***
<br><br>[$sendMessageCancelAction](../constructors/sendMessageCancelAction.md) = \[\];<a name="sendMessageCancelAction"></a>
@ -1465,13 +1392,6 @@ description: List of constructors
***
<br><br>[$sendMessageUploadVideoAction\_17](../constructors/sendMessageUploadVideoAction_17.md) = \[\];<a name="sendMessageUploadVideoAction_17"></a>
***
<br><br>[$server\_DH\_inner\_data](../constructors/server_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'g' => [int](../types/int.md), 'dh_prime' => [string](../types/string.md), 'g_a' => [string](../types/string.md), 'server_time' => [int](../types/int.md), \];<a name="server_DH_inner_data"></a>
[$server\_DH\_params\_fail](../constructors/server_DH_params_fail.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'new_nonce_hash' => [int128](../types/int128.md), \];<a name="server_DH_params_fail"></a>
[$server\_DH\_params\_ok](../constructors/server_DH_params_ok.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_answer' => [string](../types/string.md), \];<a name="server_DH_params_ok"></a>
***
<br><br>[$shippingOption](../constructors/shippingOption.md) = \['id' => [string](../types/string.md), 'title' => [string](../types/string.md), 'prices' => \[[LabeledPrice](../types/LabeledPrice.md)\], \];<a name="shippingOption"></a>

View File

@ -11,6 +11,7 @@ description: inputMediaUploadedDocument attributes, type and example
| Name | Type | Required |
|----------|---------------|----------|
|nosound\_video|[Bool](../types/Bool.md) | Optional|
|file|[InputFile](../types/InputFile.md) | Yes|
|thumb|[InputFile](../types/InputFile.md) | Optional|
|mime\_type|[string](../types/string.md) | Yes|
@ -27,13 +28,13 @@ description: inputMediaUploadedDocument attributes, type and example
### Example:
```
$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument], 'ttl_seconds' => int];
$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'nosound_video' => Bool, 'file' => InputFile, 'thumb' => InputFile, 'mime_type' => 'string', 'attributes' => [DocumentAttribute], 'caption' => 'string', 'stickers' => [InputDocument], 'ttl_seconds' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMediaUploadedDocument", "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument], "ttl_seconds": int}
{"_": "inputMediaUploadedDocument", "nosound_video": Bool, "file": InputFile, "thumb": InputFile, "mime_type": "string", "attributes": [DocumentAttribute], "caption": "string", "stickers": [InputDocument], "ttl_seconds": int}
```
@ -41,7 +42,7 @@ Or, if you're into Lua:
```
inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}, ttl_seconds=int}
inputMediaUploadedDocument={_='inputMediaUploadedDocument', nosound_video=Bool, file=InputFile, thumb=InputFile, mime_type='string', attributes={DocumentAttribute}, caption='string', stickers={InputDocument}, ttl_seconds=int}
```

View File

@ -0,0 +1,42 @@
---
title: inputSingleMedia
description: inputSingleMedia attributes, type and example
---
## Constructor: inputSingleMedia
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|media|[InputMedia](../types/InputMedia.md) | Yes|
### Type: [InputSingleMedia](../types/InputSingleMedia.md)
### Example:
```
$inputSingleMedia = ['_' => 'inputSingleMedia', 'media' => InputMedia];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputSingleMedia", "media": InputMedia}
```
Or, if you're into Lua:
```
inputSingleMedia={_='inputSingleMedia', media=InputMedia}
```

View File

@ -30,6 +30,7 @@ description: message attributes, type and example
|views|[int](../types/int.md) | Optional|
|edit\_date|[int](../types/int.md) | Optional|
|post\_author|[string](../types/string.md) | Optional|
|grouped\_id|[long](../types/long.md) | Optional|
@ -39,13 +40,13 @@ description: message attributes, type and example
### 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, 'post_author' => 'string'];
$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, 'post_author' => 'string', 'grouped_id' => long];
```
[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, "post_author": "string"}
{"_": "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, "post_author": "string", "grouped_id": long}
```
@ -53,7 +54,7 @@ Or, if you're into Lua:
```
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, post_author='string'}
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, post_author='string', grouped_id=long}
```

View File

@ -16,6 +16,8 @@ description: messageFwdHeader attributes, type and example
|channel\_id|[int](../types/int.md) | Optional|
|channel\_post|[int](../types/int.md) | Optional|
|post\_author|[string](../types/string.md) | Optional|
|saved\_from\_peer|[Peer](../types/Peer.md) | Optional|
|saved\_from\_msg\_id|[int](../types/int.md) | Optional|
@ -25,13 +27,13 @@ description: messageFwdHeader attributes, type and example
### Example:
```
$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string'];
$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int, "post_author": "string"}
{"_": "messageFwdHeader", "from_id": int, "date": int, "channel_id": int, "channel_post": int, "post_author": "string", "saved_from_peer": Peer, "saved_from_msg_id": int}
```
@ -39,7 +41,7 @@ Or, if you're into Lua:
```
messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string'}
messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int}
```

View File

@ -1,8 +1,8 @@
---
title: MadelineProto API documentation (layer 72)
description: MadelineProto API documentation (layer 72)
title: MadelineProto API documentation (layer 73)
description: MadelineProto API documentation (layer 73)
---
# MadelineProto API documentation (layer 72)
# MadelineProto API documentation (layer 73)
[Methods](methods/)

View File

@ -219,17 +219,6 @@ $MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../type
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
***
<br><br>$MadelineProto->[contest->saveDeveloperInfo](contest_saveDeveloperInfo.md)(\['vk_id' => [int](../types/int.md), 'name' => [string](../types/string.md), 'phone_number' => [string](../types/string.md), 'age' => [int](../types/int.md), 'city' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="contest_saveDeveloperInfo"></a>
***
<br><br>$MadelineProto->[destroy_auth_key](destroy_auth_key.md)(\[\]) === [$DestroyAuthKeyRes](../types/DestroyAuthKeyRes.md)<a name="destroy_auth_key"></a>
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
***
<br><br>$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
***
<br><br>$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\['prev_app_version' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="help_getAppChangelog"></a>
@ -312,7 +301,7 @@ $MadelineProto->[messages->faveSticker](messages_faveSticker.md)(\['id' => [Inpu
$MadelineProto->[messages->forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_forwardMessage"></a>
$MadelineProto->[messages->forwardMessages](messages_forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with_my_score' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) === [$Updates](../types/Updates.md)<a name="messages_forwardMessages"></a>
$MadelineProto->[messages->forwardMessages](messages_forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with_my_score' => [Bool](../types/Bool.md), 'grouped' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) === [$Updates](../types/Updates.md)<a name="messages_forwardMessages"></a>
$MadelineProto->[messages->getAllChats](messages_getAllChats.md)(\['except_ids' => \[[int](../types/int.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="messages_getAllChats"></a>
@ -434,6 +423,8 @@ $MadelineProto->[messages->sendMedia](messages_sendMedia.md)(\['silent' => [Bool
$MadelineProto->[messages->sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$Updates](../types/Updates.md)<a name="messages_sendMessage"></a>
$MadelineProto->[messages->sendMultiMedia](messages_sendMultiMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'multi_media' => \[[InputSingleMedia](../types/InputSingleMedia.md)\], \]) === [$Updates](../types/Updates.md)<a name="messages_sendMultiMedia"></a>
$MadelineProto->[messages->sendScreenshotNotification](messages_sendScreenshotNotification.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_sendScreenshotNotification"></a>
$MadelineProto->[messages->setBotCallbackAnswer](messages_setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \]) === [$Bool](../types/Bool.md)<a name="messages_setBotCallbackAnswer"></a>
@ -501,22 +492,6 @@ $MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos\_Photo](../types/photos_Photo.md)<a name="photos_uploadProfilePhoto"></a>
***
<br><br>$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
***
<br><br>$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
***
<br><br>$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
***
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
***
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>

View File

@ -13,6 +13,7 @@ description: messages.forwardMessages parameters, return type and example
|silent|[Bool](../types/Bool.md) | Optional|
|background|[Bool](../types/Bool.md) | Optional|
|with\_my\_score|[Bool](../types/Bool.md) | Optional|
|grouped|[Bool](../types/Bool.md) | Optional|
|from\_peer|[InputPeer](../types/InputPeer.md) | Yes|
|id|Array of [int](../types/int.md) | Yes|
|to\_peer|[InputPeer](../types/InputPeer.md) | Yes|
@ -69,7 +70,7 @@ if (isset($number)) { // Login as a user
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]);
$Updates = $MadelineProto->messages->forwardMessages(['silent' => Bool, 'background' => Bool, 'with_my_score' => Bool, 'grouped' => Bool, 'from_peer' => InputPeer, 'id' => [int], 'to_peer' => InputPeer, ]);
```
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
@ -81,7 +82,7 @@ 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, }`
* params - `{"silent": Bool, "background": Bool, "with_my_score": Bool, "grouped": Bool, "from_peer": InputPeer, "id": [int], "to_peer": InputPeer, }`
@ -97,6 +98,8 @@ background - Json encoded Bool
with_my_score - Json encoded Bool
grouped - Json encoded Bool
from_peer - Json encoded InputPeer
id - Json encoded array of int
@ -109,6 +112,6 @@ to_peer - Json encoded InputPeer
Or, if you're into Lua:
```
Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, })
Updates = messages.forwardMessages({silent=Bool, background=Bool, with_my_score=Bool, grouped=Bool, from_peer=InputPeer, id={int}, to_peer=InputPeer, })
```

View File

@ -0,0 +1,86 @@
---
title: messages.sendMultiMedia
description: messages.sendMultiMedia parameters, return type and example
---
## Method: messages.sendMultiMedia
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|silent|[Bool](../types/Bool.md) | Optional|
|background|[Bool](../types/Bool.md) | Optional|
|clear\_draft|[Bool](../types/Bool.md) | Optional|
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|reply\_to\_msg\_id|[int](../types/int.md) | Optional|
|multi\_media|Array of [InputSingleMedia](../types/InputSingleMedia.md) | Yes|
### Return type: [Updates](../types/Updates.md)
### Can bots use this method: **YES**
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->messages->sendMultiMedia(['silent' => Bool, 'background' => Bool, 'clear_draft' => Bool, 'peer' => InputPeer, 'reply_to_msg_id' => int, 'multi_media' => [InputSingleMedia], ]);
```
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
### As a bot:
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
Parameters:
* method - messages.sendMultiMedia
* params - `{"silent": Bool, "background": Bool, "clear_draft": Bool, "peer": InputPeer, "reply_to_msg_id": int, "multi_media": [InputSingleMedia], }`
### As a user:
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.sendMultiMedia`
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
multi_media - Json encoded array of InputSingleMedia
Or, if you're into Lua:
```
Updates = messages.sendMultiMedia({silent=Bool, background=Bool, clear_draft=Bool, peer=InputPeer, reply_to_msg_id=int, multi_media={InputSingleMedia}, })
```

View File

@ -0,0 +1,19 @@
---
title: InputSingleMedia
description: constructors and methods of type InputSingleMedia
---
## Type: InputSingleMedia
[Back to types index](index.md)
### Possible values (constructors):
[inputSingleMedia](../constructors/inputSingleMedia.md)
### Methods that return an object of this type (methods):

View File

@ -63,6 +63,8 @@ description: constructors and methods of type Updates
[$MadelineProto->messages->sendScreenshotNotification](../methods/messages_sendScreenshotNotification.md)
[$MadelineProto->messages->sendMultiMedia](../methods/messages_sendMultiMedia.md)
[$MadelineProto->help->getAppChangelog](../methods/help_getAppChangelog.md)
[$MadelineProto->channels->createChannel](../methods/channels_createChannel.md)

View File

@ -10,8 +10,6 @@ description: List of types
[Authorization](Authorization.md)<a name="Authorization"></a>
[BadMsgNotification](BadMsgNotification.md)<a name="BadMsgNotification"></a>
[Bool](Bool.md)<a name="Bool"></a>
[BotCommand](BotCommand.md)<a name="BotCommand"></a>
@ -56,8 +54,6 @@ description: List of types
[ChatPhoto](ChatPhoto.md)<a name="ChatPhoto"></a>
[Client\_DH\_Inner\_Data](Client_DH_Inner_Data.md)<a name="Client_DH_Inner_Data"></a>
[Config](Config.md)<a name="Config"></a>
[Contact](Contact.md)<a name="Contact"></a>
@ -82,10 +78,6 @@ description: List of types
[DecryptedMessageMedia](DecryptedMessageMedia.md)<a name="DecryptedMessageMedia"></a>
[DestroyAuthKeyRes](DestroyAuthKeyRes.md)<a name="DestroyAuthKeyRes"></a>
[DestroySessionRes](DestroySessionRes.md)<a name="DestroySessionRes"></a>
[Dialog](Dialog.md)<a name="Dialog"></a>
[DisabledFeature](DisabledFeature.md)<a name="DisabledFeature"></a>
@ -112,18 +104,12 @@ description: List of types
[FoundGif](FoundGif.md)<a name="FoundGif"></a>
[FutureSalt](FutureSalt.md)<a name="FutureSalt"></a>
[FutureSalts](FutureSalts.md)<a name="FutureSalts"></a>
[Game](Game.md)<a name="Game"></a>
[GeoPoint](GeoPoint.md)<a name="GeoPoint"></a>
[HighScore](HighScore.md)<a name="HighScore"></a>
[HttpWait](HttpWait.md)<a name="HttpWait"></a>
[ImportedContact](ImportedContact.md)<a name="ImportedContact"></a>
[InlineBotSwitchPM](InlineBotSwitchPM.md)<a name="InlineBotSwitchPM"></a>
@ -176,6 +162,8 @@ description: List of types
[InputPrivacyRule](InputPrivacyRule.md)<a name="InputPrivacyRule"></a>
[InputSingleMedia](InputSingleMedia.md)<a name="InputSingleMedia"></a>
[InputStickerSet](InputStickerSet.md)<a name="InputStickerSet"></a>
[InputStickerSetItem](InputStickerSetItem.md)<a name="InputStickerSetItem"></a>
@ -190,8 +178,6 @@ description: List of types
[Invoice](Invoice.md)<a name="Invoice"></a>
[IpPort](IpPort.md)<a name="IpPort"></a>
[KeyboardButton](KeyboardButton.md)<a name="KeyboardButton"></a>
[KeyboardButtonRow](KeyboardButtonRow.md)<a name="KeyboardButtonRow"></a>
@ -220,28 +206,12 @@ description: List of types
[MessagesFilter](MessagesFilter.md)<a name="MessagesFilter"></a>
[MsgDetailedInfo](MsgDetailedInfo.md)<a name="MsgDetailedInfo"></a>
[MsgResendReq](MsgResendReq.md)<a name="MsgResendReq"></a>
[MsgsAck](MsgsAck.md)<a name="MsgsAck"></a>
[MsgsAllInfo](MsgsAllInfo.md)<a name="MsgsAllInfo"></a>
[MsgsStateInfo](MsgsStateInfo.md)<a name="MsgsStateInfo"></a>
[MsgsStateReq](MsgsStateReq.md)<a name="MsgsStateReq"></a>
[NearestDc](NearestDc.md)<a name="NearestDc"></a>
[NewSession](NewSession.md)<a name="NewSession"></a>
[NotifyPeer](NotifyPeer.md)<a name="NotifyPeer"></a>
[Null](Null.md)<a name="Null"></a>
[P\_Q\_inner\_data](P_Q_inner_data.md)<a name="P_Q_inner_data"></a>
[Page](Page.md)<a name="Page"></a>
[PageBlock](PageBlock.md)<a name="PageBlock"></a>
@ -272,8 +242,6 @@ description: List of types
[PhotoSize](PhotoSize.md)<a name="PhotoSize"></a>
[Pong](Pong.md)<a name="Pong"></a>
[PopularContact](PopularContact.md)<a name="PopularContact"></a>
[PostAddress](PostAddress.md)<a name="PostAddress"></a>
@ -290,22 +258,10 @@ description: List of types
[ReportReason](ReportReason.md)<a name="ReportReason"></a>
[ResPQ](ResPQ.md)<a name="ResPQ"></a>
[RichText](RichText.md)<a name="RichText"></a>
[RpcDropAnswer](RpcDropAnswer.md)<a name="RpcDropAnswer"></a>
[RpcError](RpcError.md)<a name="RpcError"></a>
[SendMessageAction](SendMessageAction.md)<a name="SendMessageAction"></a>
[Server\_DH\_Params](Server_DH_Params.md)<a name="Server_DH_Params"></a>
[Server\_DH\_inner\_data](Server_DH_inner_data.md)<a name="Server_DH_inner_data"></a>
[Set\_client\_DH\_params\_answer](Set_client_DH_params_answer.md)<a name="Set_client_DH_params_answer"></a>
[ShippingOption](ShippingOption.md)<a name="ShippingOption"></a>
[StickerPack](StickerPack.md)<a name="StickerPack"></a>
@ -390,8 +346,6 @@ description: List of types
[help\_AppUpdate](help_AppUpdate.md)<a name="help_AppUpdate"></a>
[help\_ConfigSimple](help_ConfigSimple.md)<a name="help_ConfigSimple"></a>
[help\_InviteText](help_InviteText.md)<a name="help_InviteText"></a>
[help\_RecentMeUrls](help_RecentMeUrls.md)<a name="help_RecentMeUrls"></a>

View File

@ -174,7 +174,7 @@ It is **strongly** recommended to serialize the session with `$MadelineProto->se
## Methods
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 71)](https://daniil.it/MadelineProto/API_docs/).
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 73)](https://daniil.it/MadelineProto/API_docs/).
If an object of type User, InputUser, Chat, InputChannel, Peer or InputPeer must be provided as a parameter to a method, you can substitute it with the user/group/channel's username (`@username`) or bot API id (`-1029449`, `1249421`, `-100412412901`).
@ -365,10 +365,10 @@ Here are the default values for the settings arrays and explanations for every s
'lang_code' => $lang_code,
],
'tl_schema' => [ // TL scheme files
'layer' => 72, // layer version
'layer' => 73, // layer version
'src' => [
'mtproto' => __DIR__.'/TL_mtproto_v1.json', // mtproto TL scheme
'telegram' => __DIR__.'/TL_telegram_v72.tl', // telegram TL scheme
'telegram' => __DIR__.'/TL_telegram_v73.tl', // telegram TL scheme
'secret' => __DIR__.'/TL_secret.tl', // secret chats TL scheme
'calls' => __DIR__.'/TL_calls.tl', // calls TL scheme
'botAPI' => __DIR__.'/TL_botAPI.tl', // bot API TL scheme for file ids

View File

@ -0,0 +1,14 @@
---
title: MadelineProto API documentation (layer v72)
description: MadelineProto API documentation (layer v72)
---
# MadelineProto API documentation (layer v72)
[Methods](methods/)
[Constructors](constructors/)
[Types](types/)
[Back to main documentation](..)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,42 @@
---
title: accountDaysTTL
description: accountDaysTTL attributes, type and example
---
## Constructor: accountDaysTTL
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|days|[int](../types/int.md) | Yes|
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
### Example:
```
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "accountDaysTTL", "days": int}
```
Or, if you're into Lua:
```
accountDaysTTL={_='accountDaysTTL', days=int}
```

View File

@ -0,0 +1,42 @@
---
title: account.authorizations
description: account_authorizations attributes, type and example
---
## Constructor: account.authorizations
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|
### Type: [account\_Authorizations](../types/account_Authorizations.md)
### Example:
```
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.authorizations", "authorizations": [Authorization]}
```
Or, if you're into Lua:
```
account_authorizations={_='account.authorizations', authorizations={Authorization}}
```

View File

@ -0,0 +1,43 @@
---
title: account.noPassword
description: account_noPassword attributes, type and example
---
## Constructor: account.noPassword
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|new\_salt|[bytes](../types/bytes.md) | Yes|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
### Type: [account\_Password](../types/account_Password.md)
### 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:
```
account_noPassword={_='account.noPassword', new_salt='bytes', email_unconfirmed_pattern='string'}
```

View File

@ -0,0 +1,46 @@
---
title: account.password
description: account_password attributes, type and example
---
## Constructor: account.password
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|current\_salt|[bytes](../types/bytes.md) | Yes|
|new\_salt|[bytes](../types/bytes.md) | Yes|
|hint|[string](../types/string.md) | Yes|
|has\_recovery|[Bool](../types/Bool.md) | Yes|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
### Type: [account\_Password](../types/account_Password.md)
### Example:
```
$account_password = ['_' => 'account.password', 'current_salt' => 'bytes', 'new_salt' => 'bytes', 'hint' => 'string', 'has_recovery' => Bool, 'email_unconfirmed_pattern' => 'string'];
```
[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:
```
account_password={_='account.password', current_salt='bytes', new_salt='bytes', hint='string', has_recovery=Bool, email_unconfirmed_pattern='string'}
```

View File

@ -0,0 +1,45 @@
---
title: account.passwordInputSettings
description: account_passwordInputSettings attributes, type and example
---
## Constructor: account.passwordInputSettings
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|new\_salt|[bytes](../types/bytes.md) | Optional|
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|
|hint|[string](../types/string.md) | Optional|
|email|[string](../types/string.md) | Optional|
### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
### Example:
```
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_salt' => 'bytes', 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string'];
```
[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:
```
account_passwordInputSettings={_='account.passwordInputSettings', new_salt='bytes', new_password_hash='bytes', hint='string', email='string'}
```

View File

@ -0,0 +1,42 @@
---
title: account.passwordSettings
description: account_passwordSettings attributes, type and example
---
## Constructor: account.passwordSettings
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|email|[string](../types/string.md) | Yes|
### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
### Example:
```
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "account.passwordSettings", "email": "string"}
```
Or, if you're into Lua:
```
account_passwordSettings={_='account.passwordSettings', email='string'}
```

View File

@ -0,0 +1,43 @@
---
title: account.privacyRules
description: account_privacyRules attributes, type and example
---
## Constructor: account.privacyRules
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
### 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:
```
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}
```

View File

@ -0,0 +1,43 @@
---
title: account.tmpPassword
description: account_tmpPassword attributes, type and example
---
## Constructor: account.tmpPassword
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|tmp\_password|[bytes](../types/bytes.md) | Yes|
|valid\_until|[int](../types/int.md) | Yes|
### Type: [account\_TmpPassword](../types/account_TmpPassword.md)
### 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:
```
account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}
```

View File

@ -0,0 +1,43 @@
---
title: auth.authorization
description: auth_authorization attributes, type and example
---
## Constructor: auth.authorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|tmp\_sessions|[int](../types/int.md) | Optional|
|user|[User](../types/User.md) | Yes|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
### 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:
```
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User}
```

View File

@ -0,0 +1,42 @@
---
title: auth.checkedPhone
description: auth_checkedPhone attributes, type and example
---
## Constructor: auth.checkedPhone
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|phone\_registered|[Bool](../types/Bool.md) | Yes|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### 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:
```
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
```

View File

@ -0,0 +1,37 @@
---
title: auth.codeTypeCall
description: auth_codeTypeCall attributes, type and example
---
## Constructor: auth.codeTypeCall
[Back to constructors index](index.md)
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.codeTypeCall"}
```
Or, if you're into Lua:
```
auth_codeTypeCall={_='auth.codeTypeCall'}
```

View File

@ -0,0 +1,37 @@
---
title: auth.codeTypeFlashCall
description: auth_codeTypeFlashCall attributes, type and example
---
## Constructor: auth.codeTypeFlashCall
[Back to constructors index](index.md)
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.codeTypeFlashCall"}
```
Or, if you're into Lua:
```
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'}
```

View File

@ -0,0 +1,37 @@
---
title: auth.codeTypeSms
description: auth_codeTypeSms attributes, type and example
---
## Constructor: auth.codeTypeSms
[Back to constructors index](index.md)
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.codeTypeSms"}
```
Or, if you're into Lua:
```
auth_codeTypeSms={_='auth.codeTypeSms'}
```

View File

@ -0,0 +1,43 @@
---
title: auth.exportedAuthorization
description: auth_exportedAuthorization attributes, type and example
---
## Constructor: auth.exportedAuthorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[int](../types/int.md) | Yes|
|bytes|[bytes](../types/bytes.md) | Yes|
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
### 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:
```
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'}
```

View File

@ -0,0 +1,42 @@
---
title: auth.passwordRecovery
description: auth_passwordRecovery attributes, type and example
---
## Constructor: auth.passwordRecovery
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|email\_pattern|[string](../types/string.md) | Yes|
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
### 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:
```
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}
```

View File

@ -0,0 +1,46 @@
---
title: auth.sentCode
description: auth_sentCode attributes, type and example
---
## Constructor: auth.sentCode
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|phone\_registered|[Bool](../types/Bool.md) | Optional|
|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|
|phone\_code\_hash|[string](../types/string.md) | Yes|
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|
|timeout|[int](../types/int.md) | Optional|
### Type: [auth\_SentCode](../types/auth_SentCode.md)
### Example:
```
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => 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:
```
auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeApp
description: auth_sentCodeTypeApp attributes, type and example
---
## Constructor: auth.sentCodeTypeApp
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeApp", "length": int}
```
Or, if you're into Lua:
```
auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeCall
description: auth_sentCodeTypeCall attributes, type and example
---
## Constructor: auth.sentCodeTypeCall
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeCall", "length": int}
```
Or, if you're into Lua:
```
auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeFlashCall
description: auth_sentCodeTypeFlashCall attributes, type and example
---
## Constructor: auth.sentCodeTypeFlashCall
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|pattern|[string](../types/string.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeFlashCall", "pattern": "string"}
```
Or, if you're into Lua:
```
auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'}
```

View File

@ -0,0 +1,42 @@
---
title: auth.sentCodeTypeSms
description: auth_sentCodeTypeSms attributes, type and example
---
## Constructor: auth.sentCodeTypeSms
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|length|[int](../types/int.md) | Yes|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "auth.sentCodeTypeSms", "length": int}
```
Or, if you're into Lua:
```
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int}
```

View File

@ -0,0 +1,53 @@
---
title: authorization
description: authorization attributes, type and example
---
## Constructor: authorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|hash|[long](../types/long.md) | Yes|
|device\_model|[string](../types/string.md) | Yes|
|platform|[string](../types/string.md) | Yes|
|system\_version|[string](../types/string.md) | Yes|
|api\_id|[int](../types/int.md) | Yes|
|app\_name|[string](../types/string.md) | Yes|
|app\_version|[string](../types/string.md) | Yes|
|date\_created|[int](../types/int.md) | Yes|
|date\_active|[int](../types/int.md) | Yes|
|ip|[string](../types/string.md) | Yes|
|country|[string](../types/string.md) | Yes|
|region|[string](../types/string.md) | Yes|
### Type: [Authorization](../types/Authorization.md)
### Example:
```
$authorization = ['_' => 'authorization', 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string'];
```
[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:
```
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'}
```

View File

@ -0,0 +1,8 @@
---
title: boolFalse
description: Represents a boolean with value equal to false
---
# boolFalse
[Back to constructor index](index.md)
Represents a boolean with value equal to `false`.

View File

@ -0,0 +1,8 @@
---
title: boolTrue
description: Represents a boolean with value equal to true
---
# boolTrue
[Back to constructor index](index.md)
Represents a boolean with value equal to `true`.

View File

@ -0,0 +1,43 @@
---
title: botCommand
description: botCommand attributes, type and example
---
## Constructor: botCommand
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|command|[string](../types/string.md) | Yes|
|description|[string](../types/string.md) | Yes|
### Type: [BotCommand](../types/BotCommand.md)
### 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:
```
botCommand={_='botCommand', command='string', description='string'}
```

View File

@ -0,0 +1,44 @@
---
title: botInfo
description: botInfo attributes, type and example
---
## Constructor: botInfo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[int](../types/int.md) | Yes|
|description|[string](../types/string.md) | Yes|
|commands|Array of [BotCommand](../types/BotCommand.md) | Yes|
### Type: [BotInfo](../types/BotInfo.md)
### 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:
```
botInfo={_='botInfo', user_id=int, description='string', commands={BotCommand}}
```

View File

@ -0,0 +1,48 @@
---
title: botInlineMediaResult
description: botInlineMediaResult attributes, type and example
---
## Constructor: botInlineMediaResult
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[string](../types/string.md) | Yes|
|type|[string](../types/string.md) | Yes|
|photo|[Photo](../types/Photo.md) | Optional|
|document|[Document](../types/Document.md) | Optional|
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### 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:
```
botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage}
```

View File

@ -0,0 +1,49 @@
---
title: botInlineMessageMediaAuto
description: botInlineMessageMediaAuto attributes, type and example
---
## Constructor: botInlineMessageMediaAuto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|caption|[string](../types/string.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### 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:
```
botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', caption='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,51 @@
---
title: botInlineMessageMediaContact
description: botInlineMessageMediaContact attributes, type and example
---
## Constructor: botInlineMessageMediaContact
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|phone\_number|[string](../types/string.md) | Yes|
|first\_name|[string](../types/string.md) | Yes|
|last\_name|[string](../types/string.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'reply_markup' => ReplyMarkup];
```
[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:
```
botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,50 @@
---
title: botInlineMessageMediaGeo
description: botInlineMessageMediaGeo attributes, type and example
---
## Constructor: botInlineMessageMediaGeo
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|period|[int](../types/int.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "period": int, "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, period=int, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,53 @@
---
title: botInlineMessageMediaVenue
description: botInlineMessageMediaVenue attributes, type and example
---
## Constructor: botInlineMessageMediaVenue
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|title|[string](../types/string.md) | Yes|
|address|[string](../types/string.md) | Yes|
|provider|[string](../types/string.md) | Yes|
|venue\_id|[string](../types/string.md) | Yes|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'reply_markup' => ReplyMarkup];
```
[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:
```
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,51 @@
---
title: botInlineMessageText
description: botInlineMessageText attributes, type and example
---
## Constructor: botInlineMessageText
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|message|[string](../types/string.md) | Yes|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => 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:
```
botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,53 @@
---
title: botInlineResult
description: botInlineResult attributes, type and example
---
## Constructor: botInlineResult
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[string](../types/string.md) | Yes|
|type|[string](../types/string.md) | Yes|
|title|[string](../types/string.md) | Optional|
|description|[string](../types/string.md) | Optional|
|url|[string](../types/string.md) | Optional|
|thumb\_url|[string](../types/string.md) | Optional|
|content\_url|[string](../types/string.md) | Optional|
|content\_type|[string](../types/string.md) | Optional|
|w|[int](../types/int.md) | Optional|
|h|[int](../types/int.md) | Optional|
|duration|[int](../types/int.md) | Optional|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb_url' => 'string', 'content_url' => 'string', 'content_type' => 'string', 'w' => int, 'h' => int, 'duration' => int, 'send_message' => BotInlineMessage];
```
[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:
```
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}
```

View File

@ -0,0 +1,42 @@
---
title: cdnConfig
description: cdnConfig attributes, type and example
---
## Constructor: cdnConfig
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|
### Type: [CdnConfig](../types/CdnConfig.md)
### Example:
```
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "cdnConfig", "public_keys": [CdnPublicKey]}
```
Or, if you're into Lua:
```
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}
```

View File

@ -0,0 +1,44 @@
---
title: cdnFileHash
description: cdnFileHash attributes, type and example
---
## Constructor: cdnFileHash
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|offset|[int](../types/int.md) | Yes|
|limit|[int](../types/int.md) | Yes|
|hash|[bytes](../types/bytes.md) | Yes|
### Type: [CdnFileHash](../types/CdnFileHash.md)
### Example:
```
$cdnFileHash = ['_' => 'cdnFileHash', 'offset' => int, 'limit' => int, 'hash' => 'bytes'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "cdnFileHash", "offset": int, "limit": int, "hash": "bytes"}
```
Or, if you're into Lua:
```
cdnFileHash={_='cdnFileHash', offset=int, limit=int, hash='bytes'}
```

View File

@ -0,0 +1,43 @@
---
title: cdnPublicKey
description: cdnPublicKey attributes, type and example
---
## Constructor: cdnPublicKey
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|dc\_id|[int](../types/int.md) | Yes|
|public\_key|[string](../types/string.md) | Yes|
### Type: [CdnPublicKey](../types/CdnPublicKey.md)
### 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:
```
cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}
```

View File

@ -0,0 +1,61 @@
---
title: channel
description: channel attributes, type and example
---
## Constructor: channel
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|creator|[Bool](../types/Bool.md) | Optional|
|left|[Bool](../types/Bool.md) | Optional|
|editor|[Bool](../types/Bool.md) | Optional|
|broadcast|[Bool](../types/Bool.md) | Optional|
|verified|[Bool](../types/Bool.md) | Optional|
|megagroup|[Bool](../types/Bool.md) | Optional|
|restricted|[Bool](../types/Bool.md) | Optional|
|democracy|[Bool](../types/Bool.md) | Optional|
|signatures|[Bool](../types/Bool.md) | Optional|
|min|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|access\_hash|[long](../types/long.md) | Optional|
|title|[string](../types/string.md) | Yes|
|username|[string](../types/string.md) | Optional|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|date|[int](../types/int.md) | Yes|
|version|[int](../types/int.md) | Yes|
|restriction\_reason|[string](../types/string.md) | Optional|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Optional|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Optional|
### Type: [Chat](../types/Chat.md)
### Example:
```
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'editor' => 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, "editor": 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:
```
channel={_='channel', creator=Bool, left=Bool, editor=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}
```

View File

@ -0,0 +1,45 @@
---
title: channelAdminLogEvent
description: channelAdminLogEvent attributes, type and example
---
## Constructor: channelAdminLogEvent
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[long](../types/long.md) | Yes|
|date|[int](../types/int.md) | Yes|
|user\_id|[int](../types/int.md) | Yes|
|action|[ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md) | Yes|
### Type: [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)
### 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:
```
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeAbout
description: channelAdminLogEventActionChangeAbout attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeAbout
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### 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:
```
channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangePhoto
description: channelAdminLogEventActionChangePhoto attributes, type and example
---
## Constructor: channelAdminLogEventActionChangePhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### 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:
```
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeStickerSet
description: channelAdminLogEventActionChangeStickerSet attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeStickerSet
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Yes|
|new\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionChangeStickerSet", "prev_stickerset": InputStickerSet, "new_stickerset": InputStickerSet}
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeTitle
description: channelAdminLogEventActionChangeTitle attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeTitle
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### 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:
```
channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionChangeUsername
description: channelAdminLogEventActionChangeUsername attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeUsername
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$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:
```
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionDeleteMessage
description: channelAdminLogEventActionDeleteMessage attributes, type and example
---
## Constructor: channelAdminLogEventActionDeleteMessage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionDeleteMessage", "message": Message}
```
Or, if you're into Lua:
```
channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionEditMessage
description: channelAdminLogEventActionEditMessage attributes, type and example
---
## Constructor: channelAdminLogEventActionEditMessage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_message|[Message](../types/Message.md) | Yes|
|new\_message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### 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:
```
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionParticipantInvite
description: channelAdminLogEventActionParticipantInvite attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantInvite
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantInvite", "participant": ChannelParticipant}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant}
```

View File

@ -0,0 +1,37 @@
---
title: channelAdminLogEventActionParticipantJoin
description: channelAdminLogEventActionParticipantJoin attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantJoin
[Back to constructors index](index.md)
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantJoin"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'}
```

View File

@ -0,0 +1,37 @@
---
title: channelAdminLogEventActionParticipantLeave
description: channelAdminLogEventActionParticipantLeave attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantLeave
[Back to constructors index](index.md)
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionParticipantLeave"}
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionParticipantToggleAdmin
description: channelAdminLogEventActionParticipantToggleAdmin attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantToggleAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$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:
```
channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminLogEventActionParticipantToggleBan
description: channelAdminLogEventActionParticipantToggleBan attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantToggleBan
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$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:
```
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionToggleInvites
description: channelAdminLogEventActionToggleInvites attributes, type and example
---
## Constructor: channelAdminLogEventActionToggleInvites
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|new\_value|[Bool](../types/Bool.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionToggleInvites = ['_' => 'channelAdminLogEventActionToggleInvites', 'new_value' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionToggleInvites", "new_value": Bool}
```
Or, if you're into Lua:
```
channelAdminLogEventActionToggleInvites={_='channelAdminLogEventActionToggleInvites', new_value=Bool}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionTogglePreHistoryHidden
description: channelAdminLogEventActionTogglePreHistoryHidden attributes, type and example
---
## Constructor: channelAdminLogEventActionTogglePreHistoryHidden
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|new\_value|[Bool](../types/Bool.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionTogglePreHistoryHidden", "new_value": Bool}
```
Or, if you're into Lua:
```
channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionToggleSignatures
description: channelAdminLogEventActionToggleSignatures attributes, type and example
---
## Constructor: channelAdminLogEventActionToggleSignatures
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|new\_value|[Bool](../types/Bool.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionToggleSignatures = ['_' => 'channelAdminLogEventActionToggleSignatures', 'new_value' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionToggleSignatures", "new_value": Bool}
```
Or, if you're into Lua:
```
channelAdminLogEventActionToggleSignatures={_='channelAdminLogEventActionToggleSignatures', new_value=Bool}
```

View File

@ -0,0 +1,42 @@
---
title: channelAdminLogEventActionUpdatePinned
description: channelAdminLogEventActionUpdatePinned attributes, type and example
---
## Constructor: channelAdminLogEventActionUpdatePinned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionUpdatePinned = ['_' => 'channelAdminLogEventActionUpdatePinned', 'message' => Message];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelAdminLogEventActionUpdatePinned", "message": Message}
```
Or, if you're into Lua:
```
channelAdminLogEventActionUpdatePinned={_='channelAdminLogEventActionUpdatePinned', message=Message}
```

View File

@ -0,0 +1,55 @@
---
title: channelAdminLogEventsFilter
description: channelAdminLogEventsFilter attributes, type and example
---
## Constructor: channelAdminLogEventsFilter
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|join|[Bool](../types/Bool.md) | Optional|
|leave|[Bool](../types/Bool.md) | Optional|
|invite|[Bool](../types/Bool.md) | Optional|
|ban|[Bool](../types/Bool.md) | Optional|
|unban|[Bool](../types/Bool.md) | Optional|
|kick|[Bool](../types/Bool.md) | Optional|
|unkick|[Bool](../types/Bool.md) | Optional|
|promote|[Bool](../types/Bool.md) | Optional|
|demote|[Bool](../types/Bool.md) | Optional|
|info|[Bool](../types/Bool.md) | Optional|
|settings|[Bool](../types/Bool.md) | Optional|
|pinned|[Bool](../types/Bool.md) | Optional|
|edit|[Bool](../types/Bool.md) | Optional|
|delete|[Bool](../types/Bool.md) | Optional|
### Type: [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md)
### 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:
```
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}
```

View File

@ -0,0 +1,50 @@
---
title: channelAdminRights
description: channelAdminRights attributes, type and example
---
## Constructor: channelAdminRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|change\_info|[Bool](../types/Bool.md) | Optional|
|post\_messages|[Bool](../types/Bool.md) | Optional|
|edit\_messages|[Bool](../types/Bool.md) | Optional|
|delete\_messages|[Bool](../types/Bool.md) | Optional|
|ban\_users|[Bool](../types/Bool.md) | Optional|
|invite\_users|[Bool](../types/Bool.md) | Optional|
|invite\_link|[Bool](../types/Bool.md) | Optional|
|pin\_messages|[Bool](../types/Bool.md) | Optional|
|add\_admins|[Bool](../types/Bool.md) | Optional|
### Type: [ChannelAdminRights](../types/ChannelAdminRights.md)
### 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:
```
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}
```

View File

@ -0,0 +1,50 @@
---
title: channelBannedRights
description: channelBannedRights attributes, type and example
---
## Constructor: channelBannedRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|view\_messages|[Bool](../types/Bool.md) | Optional|
|send\_messages|[Bool](../types/Bool.md) | Optional|
|send\_media|[Bool](../types/Bool.md) | Optional|
|send\_stickers|[Bool](../types/Bool.md) | Optional|
|send\_gifs|[Bool](../types/Bool.md) | Optional|
|send\_games|[Bool](../types/Bool.md) | Optional|
|send\_inline|[Bool](../types/Bool.md) | Optional|
|embed\_links|[Bool](../types/Bool.md) | Optional|
|until\_date|[int](../types/int.md) | Yes|
### Type: [ChannelBannedRights](../types/ChannelBannedRights.md)
### 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:
```
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}
```

View File

@ -0,0 +1,47 @@
---
title: channelForbidden
description: channelForbidden attributes, type and example
---
## Constructor: channelForbidden
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|broadcast|[Bool](../types/Bool.md) | Optional|
|megagroup|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|access\_hash|[long](../types/long.md) | Yes|
|title|[string](../types/string.md) | Yes|
|until\_date|[int](../types/int.md) | Optional|
### Type: [Chat](../types/Chat.md)
### 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:
```
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title='string', until_date=int}
```

View File

@ -0,0 +1,63 @@
---
title: channelFull
description: channelFull attributes, type and example
---
## Constructor: channelFull
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|
|hidden\_prehistory|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|about|[string](../types/string.md) | Yes|
|participants\_count|[int](../types/int.md) | Optional|
|admins\_count|[int](../types/int.md) | Optional|
|kicked\_count|[int](../types/int.md) | Optional|
|banned\_count|[int](../types/int.md) | Optional|
|read\_inbox\_max\_id|[int](../types/int.md) | Yes|
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|unread\_count|[int](../types/int.md) | Yes|
|chat\_photo|[Photo](../types/Photo.md) | Yes|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|pinned\_msg\_id|[int](../types/int.md) | Optional|
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|
|available\_min\_id|[int](../types/int.md) | Optional|
### Type: [ChatFull](../types/ChatFull.md)
### Example:
```
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => 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, 'stickerset' => StickerSet, 'available_min_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "hidden_prehistory": 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, "stickerset": StickerSet, "available_min_id": int}
```
Or, if you're into Lua:
```
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=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, stickerset=StickerSet, available_min_id=int}
```

View File

@ -0,0 +1,43 @@
---
title: channelMessagesFilter
description: channelMessagesFilter attributes, type and example
---
## Constructor: channelMessagesFilter
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|exclude\_new\_messages|[Bool](../types/Bool.md) | Optional|
|ranges|Array of [MessageRange](../types/MessageRange.md) | Yes|
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
### 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:
```
channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}}
```

View File

@ -0,0 +1,37 @@
---
title: channelMessagesFilterEmpty
description: channelMessagesFilterEmpty attributes, type and example
---
## Constructor: channelMessagesFilterEmpty
[Back to constructors index](index.md)
### Type: [ChannelMessagesFilter](../types/ChannelMessagesFilter.md)
### Example:
```
$channelMessagesFilterEmpty = ['_' => 'channelMessagesFilterEmpty'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMessagesFilterEmpty"}
```
Or, if you're into Lua:
```
channelMessagesFilterEmpty={_='channelMessagesFilterEmpty'}
```

View File

@ -0,0 +1,43 @@
---
title: channelParticipant
description: channelParticipant attributes, type and example
---
## Constructor: channelParticipant
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### 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:
```
channelParticipant={_='channelParticipant', user_id=int, date=int}
```

View File

@ -0,0 +1,47 @@
---
title: channelParticipantAdmin
description: channelParticipantAdmin attributes, type and example
---
## Constructor: channelParticipantAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|can\_edit|[Bool](../types/Bool.md) | Optional|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|promoted\_by|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### 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:
```
channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights}
```

View File

@ -0,0 +1,46 @@
---
title: channelParticipantBanned
description: channelParticipantBanned attributes, type and example
---
## Constructor: channelParticipantBanned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|left|[Bool](../types/Bool.md) | Optional|
|user\_id|[int](../types/int.md) | Yes|
|kicked\_by|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### 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:
```
channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantCreator
description: channelParticipantCreator attributes, type and example
---
## Constructor: channelParticipantCreator
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[int](../types/int.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantCreator", "user_id": int}
```
Or, if you're into Lua:
```
channelParticipantCreator={_='channelParticipantCreator', user_id=int}
```

View File

@ -0,0 +1,44 @@
---
title: channelParticipantSelf
description: channelParticipantSelf attributes, type and example
---
## Constructor: channelParticipantSelf
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### 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:
```
channelParticipantSelf={_='channelParticipantSelf', user_id=int, inviter_id=int, date=int}
```

View File

@ -0,0 +1,37 @@
---
title: channelParticipantsAdmins
description: channelParticipantsAdmins attributes, type and example
---
## Constructor: channelParticipantsAdmins
[Back to constructors index](index.md)
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsAdmins = ['_' => 'channelParticipantsAdmins'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsAdmins"}
```
Or, if you're into Lua:
```
channelParticipantsAdmins={_='channelParticipantsAdmins'}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantsBanned
description: channelParticipantsBanned attributes, type and example
---
## Constructor: channelParticipantsBanned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|q|[string](../types/string.md) | Yes|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsBanned = ['_' => 'channelParticipantsBanned', 'q' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsBanned", "q": "string"}
```
Or, if you're into Lua:
```
channelParticipantsBanned={_='channelParticipantsBanned', q='string'}
```

View File

@ -0,0 +1,37 @@
---
title: channelParticipantsBots
description: channelParticipantsBots attributes, type and example
---
## Constructor: channelParticipantsBots
[Back to constructors index](index.md)
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsBots = ['_' => 'channelParticipantsBots'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsBots"}
```
Or, if you're into Lua:
```
channelParticipantsBots={_='channelParticipantsBots'}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantsKicked
description: channelParticipantsKicked attributes, type and example
---
## Constructor: channelParticipantsKicked
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|q|[string](../types/string.md) | Yes|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsKicked", "q": "string"}
```
Or, if you're into Lua:
```
channelParticipantsKicked={_='channelParticipantsKicked', q='string'}
```

View File

@ -0,0 +1,37 @@
---
title: channelParticipantsRecent
description: channelParticipantsRecent attributes, type and example
---
## Constructor: channelParticipantsRecent
[Back to constructors index](index.md)
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsRecent = ['_' => 'channelParticipantsRecent'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsRecent"}
```
Or, if you're into Lua:
```
channelParticipantsRecent={_='channelParticipantsRecent'}
```

View File

@ -0,0 +1,42 @@
---
title: channelParticipantsSearch
description: channelParticipantsSearch attributes, type and example
---
## Constructor: channelParticipantsSearch
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|q|[string](../types/string.md) | Yes|
### Type: [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md)
### Example:
```
$channelParticipantsSearch = ['_' => 'channelParticipantsSearch', 'q' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelParticipantsSearch", "q": "string"}
```
Or, if you're into Lua:
```
channelParticipantsSearch={_='channelParticipantsSearch', q='string'}
```

View File

@ -0,0 +1,44 @@
---
title: channels.adminLogResults
description: channels_adminLogResults attributes, type and example
---
## Constructor: channels.adminLogResults
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|
|chats|Array of [Chat](../types/Chat.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
### 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:
```
channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}}
```

View File

@ -0,0 +1,43 @@
---
title: channels.channelParticipant
description: channels_channelParticipant attributes, type and example
---
## Constructor: channels.channelParticipant
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
### 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:
```
channels_channelParticipant={_='channels.channelParticipant', participant=ChannelParticipant, users={User}}
```

View File

@ -0,0 +1,44 @@
---
title: channels.channelParticipants
description: channels_channelParticipants attributes, type and example
---
## Constructor: channels.channelParticipants
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|count|[int](../types/int.md) | Yes|
|participants|Array of [ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
### 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:
```
channels_channelParticipants={_='channels.channelParticipants', count=int, participants={ChannelParticipant}, users={User}}
```

View File

@ -0,0 +1,37 @@
---
title: channels.channelParticipantsNotModified
description: channels_channelParticipantsNotModified attributes, type and example
---
## Constructor: channels.channelParticipantsNotModified
[Back to constructors index](index.md)
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
### Example:
```
$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channels.channelParticipantsNotModified"}
```
Or, if you're into Lua:
```
channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'}
```

View File

@ -0,0 +1,54 @@
---
title: chat
description: chat attributes, type and example
---
## Constructor: chat
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|creator|[Bool](../types/Bool.md) | Optional|
|kicked|[Bool](../types/Bool.md) | Optional|
|left|[Bool](../types/Bool.md) | Optional|
|admins\_enabled|[Bool](../types/Bool.md) | Optional|
|admin|[Bool](../types/Bool.md) | Optional|
|deactivated|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|title|[string](../types/string.md) | Yes|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|participants\_count|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|version|[int](../types/int.md) | Yes|
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|
### Type: [Chat](../types/Chat.md)
### 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:
```
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}
```

View File

@ -0,0 +1,42 @@
---
title: chatEmpty
description: chatEmpty attributes, type and example
---
## Constructor: chatEmpty
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[int](../types/int.md) | Yes|
### Type: [Chat](../types/Chat.md)
### Example:
```
$chatEmpty = ['_' => 'chatEmpty', 'id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatEmpty", "id": int}
```
Or, if you're into Lua:
```
chatEmpty={_='chatEmpty', id=int}
```

View File

@ -0,0 +1,43 @@
---
title: chatForbidden
description: chatForbidden attributes, type and example
---
## Constructor: chatForbidden
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[int](../types/int.md) | Yes|
|title|[string](../types/string.md) | Yes|
### Type: [Chat](../types/Chat.md)
### 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:
```
chatForbidden={_='chatForbidden', id=int, title='string'}
```

View File

@ -0,0 +1,47 @@
---
title: chatFull
description: chatFull attributes, type and example
---
## Constructor: chatFull
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[int](../types/int.md) | Yes|
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|
|chat\_photo|[Photo](../types/Photo.md) | Yes|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
### Type: [ChatFull](../types/ChatFull.md)
### 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:
```
chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}}
```

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