Update docs
This commit is contained in:
parent
3b2fb46659
commit
7a17668c56
@ -15,6 +15,7 @@ Privacy rules
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules|
|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules|
|
||||||
|
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats allowed?|
|
||||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||||
|
|
||||||
|
|
||||||
@ -25,14 +26,14 @@ Privacy rules
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];
|
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}
|
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, chats={Chat}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -22,6 +22,8 @@ Channel
|
|||||||
|restricted|[Bool](../types/Bool.md) | Optional|Restricted?|
|
|restricted|[Bool](../types/Bool.md) | Optional|Restricted?|
|
||||||
|signatures|[Bool](../types/Bool.md) | Optional|Signatures?|
|
|signatures|[Bool](../types/Bool.md) | Optional|Signatures?|
|
||||||
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
||||||
|
|scam|[Bool](../types/Bool.md) | Optional|Scam channel|
|
||||||
|
|has\_link|[Bool](../types/Bool.md) | Optional|Has linked chat?|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
||||||
|title|[string](../types/string.md) | Yes|Title|
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
@ -43,14 +45,14 @@ Channel
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => 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' => ChatAdminRights, 'banned_rights' => ChatBannedRights, 'default_banned_rights' => ChatBannedRights, 'participants_count' => int];
|
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'signatures' => Bool, 'min' => Bool, 'scam' => Bool, 'has_link' => Bool, 'id' => int, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => 'string', 'admin_rights' => ChatAdminRights, 'banned_rights' => ChatBannedRights, 'default_banned_rights' => ChatBannedRights, 'participants_count' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
channel={_='channel', creator=Bool, left=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=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=ChatAdminRights, banned_rights=ChatBannedRights, default_banned_rights=ChatBannedRights, participants_count=int}
|
channel={_='channel', creator=Bool, left=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, signatures=Bool, min=Bool, scam=Bool, has_link=Bool, id=int, access_hash=long, title='string', username='string', photo=ChatPhoto, date=int, version=int, restriction_reason='string', admin_rights=ChatAdminRights, banned_rights=ChatBannedRights, default_banned_rights=ChatBannedRights, participants_count=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: channelAdminLogEventActionChangeLinkedChat
|
||||||
|
description: Linked chat was changed
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: channelAdminLogEventActionChangeLinkedChat
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Linked chat was changed
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|prev\_value|[int](../types/int.md) | Yes|Old linked chat|
|
||||||
|
|new\_value|[int](../types/int.md) | Yes|New linked chat|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$channelAdminLogEventActionChangeLinkedChat = ['_' => 'channelAdminLogEventActionChangeLinkedChat', 'prev_value' => int, 'new_value' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
channelAdminLogEventActionChangeLinkedChat={_='channelAdminLogEventActionChangeLinkedChat', prev_value=int, new_value=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -14,8 +14,8 @@ Change photo
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Previous photo|
|
|prev\_photo|[Photo](../types/Photo.md) | Optional|Old photo|
|
||||||
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|New photo|
|
|new\_photo|[Photo](../types/Photo.md) | Optional|New photo|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -25,14 +25,14 @@ Change photo
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto];
|
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => Photo, 'new_photo' => Photo];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto}
|
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=Photo, new_photo=Photo}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -38,6 +38,9 @@ Full channel
|
|||||||
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
||||||
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|Stickerset|
|
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|Stickerset|
|
||||||
|available\_min\_id|[int](../types/int.md) | Optional|Available min ID|
|
|available\_min\_id|[int](../types/int.md) | Optional|Available min ID|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|
|linked\_chat\_id|[int](../types/int.md) | Optional|Linked chat ID|
|
||||||
|
|pts|[int](../types/int.md) | Yes|PTS|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -47,14 +50,14 @@ Full channel
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_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, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_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, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => int, 'pts' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_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}
|
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_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, folder_id=int, linked_chat_id=int, pts=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ Chat full
|
|||||||
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|Exported invite|
|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|Exported invite|
|
||||||
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Optional|Bot info|
|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Optional|Bot info|
|
||||||
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -32,14 +33,14 @@ Chat full
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int];
|
$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int, 'folder_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
chatFull={_='chatFull', can_set_username=Bool, id=int, about='string', participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, pinned_msg_id=int}
|
chatFull={_='chatFull', can_set_username=Bool, id=int, about='string', participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, pinned_msg_id=int, folder_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ Chat invite
|
|||||||
|public|[Bool](../types/Bool.md) | Optional|Public?|
|
|public|[Bool](../types/Bool.md) | Optional|Public?|
|
||||||
|megagroup|[Bool](../types/Bool.md) | Optional|Megagroup?|
|
|megagroup|[Bool](../types/Bool.md) | Optional|Megagroup?|
|
||||||
|title|[string](../types/string.md) | Yes|Title|
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
|photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Photo|
|
|photo|[Photo](../types/Photo.md) | Optional|Photo|
|
||||||
|participants\_count|[int](../types/int.md) | Yes|Participants count|
|
|participants\_count|[int](../types/int.md) | Yes|Participants count|
|
||||||
|participants|Array of [User](../types/User.md) | Optional|Participants|
|
|participants|Array of [User](../types/User.md) | Optional|Participants|
|
||||||
|
|
||||||
@ -31,14 +31,14 @@ Chat invite
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User, User]];
|
$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => 'string', 'photo' => Photo, 'participants_count' => int, 'participants' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=ChatPhoto, participants_count=int, participants={User}}
|
chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title='string', photo=Photo, participants_count=int, participants={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ Chat photo
|
|||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|Photo small|
|
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|Photo small|
|
||||||
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|Photo big|
|
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|Photo big|
|
||||||
|
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -25,14 +26,14 @@ Chat photo
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation];
|
$chatPhoto = ['_' => 'chatPhoto', 'photo_small' => FileLocation, 'photo_big' => FileLocation, 'dc_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation}
|
chatPhoto={_='chatPhoto', photo_small=FileLocation, photo_big=FileLocation, dc_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@ Config
|
|||||||
|channels\_read\_media\_period|[int](../types/int.md) | Yes|Channels read media period|
|
|channels\_read\_media\_period|[int](../types/int.md) | Yes|Channels read media period|
|
||||||
|tmp\_sessions|[int](../types/int.md) | Optional|Tmp sessions|
|
|tmp\_sessions|[int](../types/int.md) | Optional|Tmp sessions|
|
||||||
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|Pinned dialogs count max|
|
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|Pinned dialogs count max|
|
||||||
|
|pinned\_infolder\_count\_max|[int](../types/int.md) | Yes|Pinned infolder count max_type|
|
||||||
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|Call receive timeout ms|
|
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|Call receive timeout ms|
|
||||||
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|Call ring timeout ms|
|
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|Call ring timeout ms|
|
||||||
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|Call connect timeout ms|
|
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|Call connect timeout ms|
|
||||||
@ -73,14 +74,14 @@ Config
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'pfs_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'base_lang_pack_version' => int];
|
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'default_p2p_contacts' => Bool, 'preload_featured_stickers' => Bool, 'ignore_phone_entities' => Bool, 'revoke_pm_inbox' => Bool, 'blocked_mode' => Bool, 'pfs_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption, DcOption], 'dc_txt_domain_name' => 'string', 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'revoke_time_limit' => int, 'revoke_pm_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'pinned_infolder_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'autoupdate_url_prefix' => 'string', 'gif_search_username' => 'string', 'venue_search_username' => 'string', 'img_search_username' => 'string', 'static_maps_provider' => 'string', 'caption_length_max' => int, 'message_length_max' => int, 'webfile_dc_id' => int, 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'base_lang_pack_version' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, preload_featured_stickers=Bool, ignore_phone_entities=Bool, revoke_pm_inbox=Bool, blocked_mode=Bool, pfs_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, dc_txt_domain_name='string', chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', autoupdate_url_prefix='string', gif_search_username='string', venue_search_username='string', img_search_username='string', static_maps_provider='string', caption_length_max=int, message_length_max=int, webfile_dc_id=int, suggested_lang_code='string', lang_pack_version=int, base_lang_pack_version=int}
|
config={_='config', phonecalls_enabled=Bool, default_p2p_contacts=Bool, preload_featured_stickers=Bool, ignore_phone_entities=Bool, revoke_pm_inbox=Bool, blocked_mode=Bool, pfs_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, dc_txt_domain_name='string', chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, revoke_time_limit=int, revoke_pm_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, pinned_infolder_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', autoupdate_url_prefix='string', gif_search_username='string', venue_search_username='string', img_search_username='string', static_maps_provider='string', caption_length_max=int, message_length_max=int, webfile_dc_id=int, suggested_lang_code='string', lang_pack_version=int, base_lang_pack_version=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Dialog
|
|||||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notify settings|
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notify settings|
|
||||||
|pts|[int](../types/int.md) | Optional|Pts|
|
|pts|[int](../types/int.md) | Optional|Pts|
|
||||||
|draft|[DraftMessage](../types/DraftMessage.md) | Optional|Draft|
|
|draft|[DraftMessage](../types/DraftMessage.md) | Optional|Draft|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -34,14 +35,14 @@ Dialog
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$dialog = ['_' => 'dialog', 'pinned' => Bool, 'unread_mark' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage];
|
$dialog = ['_' => 'dialog', 'pinned' => Bool, 'unread_mark' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, 'folder_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
dialog={_='dialog', pinned=Bool, unread_mark=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage}
|
dialog={_='dialog', pinned=Bool, unread_mark=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage, folder_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
45
docs/API_docs/constructors/dialogFolder.md
Normal file
45
docs/API_docs/constructors/dialogFolder.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
title: dialogFolder
|
||||||
|
description: Dialog folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: dialogFolder
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dialog folder
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|pinned|[Bool](../types/Bool.md) | Optional|Pinned?|
|
||||||
|
|folder|[Folder](../types/Folder.md) | Yes|Folder|
|
||||||
|
|peer|[Peer](../types/Peer.md) | Yes|Peer|
|
||||||
|
|top\_message|[int](../types/int.md) | Yes|Top message|
|
||||||
|
|unread\_muted\_peers\_count|[int](../types/int.md) | Yes|Unread muted peers count|
|
||||||
|
|unread\_unmuted\_peers\_count|[int](../types/int.md) | Yes|Unread unmuted peer count|
|
||||||
|
|unread\_muted\_messages\_count|[int](../types/int.md) | Yes|Unread muted messages count|
|
||||||
|
|unread\_unmuted\_messages\_count|[int](../types/int.md) | Yes|Unread unmuted messages count|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Dialog](../types/Dialog.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$dialogFolder = ['_' => 'dialogFolder', 'pinned' => Bool, 'folder' => Folder, 'peer' => Peer, 'top_message' => int, 'unread_muted_peers_count' => int, 'unread_unmuted_peers_count' => int, 'unread_muted_messages_count' => int, 'unread_unmuted_messages_count' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
dialogFolder={_='dialogFolder', pinned=Bool, folder=Folder, peer=Peer, top_message=int, unread_muted_peers_count=int, unread_unmuted_peers_count=int, unread_muted_messages_count=int, unread_unmuted_messages_count=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
38
docs/API_docs/constructors/dialogPeerFolder.md
Normal file
38
docs/API_docs/constructors/dialogPeerFolder.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: dialogPeerFolder
|
||||||
|
description: Dialog peer folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: dialogPeerFolder
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dialog peer folder
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Yes|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [DialogPeer](../types/DialogPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$dialogPeerFolder = ['_' => 'dialogPeerFolder', 'folder_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
dialogPeerFolder={_='dialogPeerFolder', folder_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
38
docs/API_docs/constructors/emojiLanguage.md
Normal file
38
docs/API_docs/constructors/emojiLanguage.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: emojiLanguage
|
||||||
|
description: Emoji language
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: emojiLanguage
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Emoji language
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|lang\_code|[string](../types/string.md) | Yes|Language code|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [EmojiLanguage](../types/EmojiLanguage.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$emojiLanguage = ['_' => 'emojiLanguage', 'lang_code' => 'string'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
emojiLanguage={_='emojiLanguage', lang_code='string'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
39
docs/API_docs/constructors/fileLocationToBeDeprecated.md
Normal file
39
docs/API_docs/constructors/fileLocationToBeDeprecated.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: fileLocationToBeDeprecated
|
||||||
|
description: File location (deprecated)
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: fileLocationToBeDeprecated
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
File location (deprecated)
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|volume\_id|[long](../types/long.md) | Yes|Volume ID|
|
||||||
|
|local\_id|[int](../types/int.md) | Yes|Local ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [FileLocation](../types/FileLocation.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$fileLocationToBeDeprecated = ['_' => 'fileLocationToBeDeprecated', 'volume_id' => long, 'local_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
fileLocationToBeDeprecated={_='fileLocationToBeDeprecated', volume_id=long, local_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@ title: fileLocationUnavailable
|
|||||||
description: File location unavailable
|
description: File location unavailable
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# Constructor: fileLocationUnavailable
|
# Constructor: fileLocationUnavailable\_23
|
||||||
[Back to constructors index](index.md)
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
@ -26,14 +26,14 @@ File location unavailable
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$fileLocationUnavailable = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long];
|
$fileLocationUnavailable_23 = ['_' => 'fileLocationUnavailable', 'volume_id' => long, 'local_id' => int, 'secret' => long];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
fileLocationUnavailable={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long}
|
fileLocationUnavailable_23={_='fileLocationUnavailable', volume_id=long, local_id=int, secret=long}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
43
docs/API_docs/constructors/folder.md
Normal file
43
docs/API_docs/constructors/folder.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: folder
|
||||||
|
description: Folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: folder
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Folder
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|autofill\_new\_broadcasts|[Bool](../types/Bool.md) | Optional|New broadcasts?|
|
||||||
|
|autofill\_public\_groups|[Bool](../types/Bool.md) | Optional|Autofill public groups?|
|
||||||
|
|autofill\_new\_correspondents|[Bool](../types/Bool.md) | Optional|New correspondents|
|
||||||
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Photo|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Folder](../types/Folder.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$folder = ['_' => 'folder', 'autofill_new_broadcasts' => Bool, 'autofill_public_groups' => Bool, 'autofill_new_correspondents' => Bool, 'id' => int, 'title' => 'string', 'photo' => ChatPhoto];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
folder={_='folder', autofill_new_broadcasts=Bool, autofill_public_groups=Bool, autofill_new_correspondents=Bool, id=int, title='string', photo=ChatPhoto}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
39
docs/API_docs/constructors/folderPeer.md
Normal file
39
docs/API_docs/constructors/folderPeer.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: folderPeer
|
||||||
|
description: Peer
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: folderPeer
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Peer
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|peer|[Peer](../types/Peer.md) | Yes|Peer|
|
||||||
|
|folder\_id|[int](../types/int.md) | Yes|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [FolderPeer](../types/FolderPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$folderPeer = ['_' => 'folderPeer', 'peer' => Peer, 'folder_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
folderPeer={_='folderPeer', peer=Peer, folder_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -25,7 +25,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \];<a name="account_passwordSettings"></a>
|
[$account\_passwordSettings](../constructors/account_passwordSettings.md) = \['email' => [string](../types/string.md), 'secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \];<a name="account_passwordSettings"></a>
|
||||||
|
|
||||||
[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="account_privacyRules"></a>
|
[$account\_privacyRules](../constructors/account_privacyRules.md) = \['rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="account_privacyRules"></a>
|
||||||
|
|
||||||
[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \];<a name="account_sentEmailCode"></a>
|
[$account\_sentEmailCode](../constructors/account_sentEmailCode.md) = \['email_pattern' => [string](../types/string.md), 'length' => [int](../types/int.md), \];<a name="account_sentEmailCode"></a>
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$cdnPublicKey](../constructors/cdnPublicKey.md) = \['dc_id' => [int](../types/int.md), 'public_key' => [string](../types/string.md), \];<a name="cdnPublicKey"></a>
|
<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), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [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' => [ChatAdminRights](../types/ChatAdminRights.md), 'banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), 'participants_count' => [int](../types/int.md), \];<a name="channel"></a>
|
<br><br>[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'scam' => [Bool](../types/Bool.md), 'has_link' => [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' => [ChatAdminRights](../types/ChatAdminRights.md), 'banned_rights' => [ChatBannedRights](../types/ChatBannedRights.md), 'default_banned_rights' => [ChatBannedRights](../types/ChatBannedRights.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>
|
<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>
|
||||||
@ -119,7 +119,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$channelAdminLogEventActionChangeAbout](../constructors/channelAdminLogEventActionChangeAbout.md) = \['prev_value' => [string](../types/string.md), 'new_value' => [string](../types/string.md), \];<a name="channelAdminLogEventActionChangeAbout"></a>
|
<br><br>[$channelAdminLogEventActionChangeAbout](../constructors/channelAdminLogEventActionChangeAbout.md) = \['prev_value' => [string](../types/string.md), 'new_value' => [string](../types/string.md), \];<a name="channelAdminLogEventActionChangeAbout"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelAdminLogEventActionChangePhoto](../constructors/channelAdminLogEventActionChangePhoto.md) = \['prev_photo' => [ChatPhoto](../types/ChatPhoto.md), 'new_photo' => [ChatPhoto](../types/ChatPhoto.md), \];<a name="channelAdminLogEventActionChangePhoto"></a>
|
<br><br>[$channelAdminLogEventActionChangeLinkedChat](../constructors/channelAdminLogEventActionChangeLinkedChat.md) = \['prev_value' => [int](../types/int.md), 'new_value' => [int](../types/int.md), \];<a name="channelAdminLogEventActionChangeLinkedChat"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$channelAdminLogEventActionChangePhoto](../constructors/channelAdminLogEventActionChangePhoto.md) = \['prev_photo' => [Photo](../types/Photo.md), 'new_photo' => [Photo](../types/Photo.md), \];<a name="channelAdminLogEventActionChangePhoto"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelAdminLogEventActionChangeStickerSet](../constructors/channelAdminLogEventActionChangeStickerSet.md) = \['prev_stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'new_stickerset' => [InputStickerSet](../types/InputStickerSet.md), \];<a name="channelAdminLogEventActionChangeStickerSet"></a>
|
<br><br>[$channelAdminLogEventActionChangeStickerSet](../constructors/channelAdminLogEventActionChangeStickerSet.md) = \['prev_stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'new_stickerset' => [InputStickerSet](../types/InputStickerSet.md), \];<a name="channelAdminLogEventActionChangeStickerSet"></a>
|
||||||
@ -176,7 +179,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'until_date' => [int](../types/int.md), \];<a name="channelForbidden"></a>
|
<br><br>[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'until_date' => [int](../types/int.md), \];<a name="channelForbidden"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_stickers' => [Bool](../types/Bool.md), 'hidden_prehistory' => [Bool](../types/Bool.md), 'can_view_stats' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'online_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), 'stickerset' => [StickerSet](../types/StickerSet.md), 'available_min_id' => [int](../types/int.md), \];<a name="channelFull"></a>
|
<br><br>[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_stickers' => [Bool](../types/Bool.md), 'hidden_prehistory' => [Bool](../types/Bool.md), 'can_view_stats' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'online_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), 'stickerset' => [StickerSet](../types/StickerSet.md), 'available_min_id' => [int](../types/int.md), 'folder_id' => [int](../types/int.md), 'linked_chat_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), \];<a name="channelFull"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \];<a name="channelMessagesFilter"></a>
|
<br><br>[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \];<a name="channelMessagesFilter"></a>
|
||||||
@ -245,10 +248,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \];<a name="chatForbidden"></a>
|
<br><br>[$chatForbidden](../constructors/chatForbidden.md) = \['id' => [int](../types/int.md), 'title' => [string](../types/string.md), \];<a name="chatForbidden"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$chatFull](../constructors/chatFull.md) = \['can_set_username' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'pinned_msg_id' => [int](../types/int.md), \];<a name="chatFull"></a>
|
<br><br>[$chatFull](../constructors/chatFull.md) = \['can_set_username' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants' => [ChatParticipants](../types/ChatParticipants.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'pinned_msg_id' => [int](../types/int.md), 'folder_id' => [int](../types/int.md), \];<a name="chatFull"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'participants' => \[[User](../types/User.md)\], \];<a name="chatInvite"></a>
|
<br><br>[$chatInvite](../constructors/chatInvite.md) = \['channel' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'public' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'photo' => [Photo](../types/Photo.md), 'participants_count' => [int](../types/int.md), 'participants' => \[[User](../types/User.md)\], \];<a name="chatInvite"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \];<a name="chatInviteAlready"></a>
|
<br><br>[$chatInviteAlready](../constructors/chatInviteAlready.md) = \['chat' => [Chat](../types/Chat.md), \];<a name="chatInviteAlready"></a>
|
||||||
@ -278,7 +281,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \];<a name="chatParticipantsForbidden"></a>
|
<br><br>[$chatParticipantsForbidden](../constructors/chatParticipantsForbidden.md) = \['chat_id' => [int](../types/int.md), 'self_participant' => [ChatParticipant](../types/ChatParticipant.md), \];<a name="chatParticipantsForbidden"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \];<a name="chatPhoto"></a>
|
<br><br>[$chatPhoto](../constructors/chatPhoto.md) = \['photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), 'dc_id' => [int](../types/int.md), \];<a name="chatPhoto"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\];<a name="chatPhotoEmpty"></a>
|
<br><br>[$chatPhotoEmpty](../constructors/chatPhotoEmpty.md) = \[\];<a name="chatPhotoEmpty"></a>
|
||||||
@ -287,7 +290,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$codeSettings](../constructors/codeSettings.md) = \['allow_flashcall' => [Bool](../types/Bool.md), 'current_number' => [Bool](../types/Bool.md), 'app_hash_persistent' => [Bool](../types/Bool.md), 'app_hash' => [string](../types/string.md), \];<a name="codeSettings"></a>
|
<br><br>[$codeSettings](../constructors/codeSettings.md) = \['allow_flashcall' => [Bool](../types/Bool.md), 'current_number' => [Bool](../types/Bool.md), 'app_hash_persistent' => [Bool](../types/Bool.md), 'app_hash' => [string](../types/string.md), \];<a name="codeSettings"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'default_p2p_contacts' => [Bool](../types/Bool.md), 'preload_featured_stickers' => [Bool](../types/Bool.md), 'ignore_phone_entities' => [Bool](../types/Bool.md), 'revoke_pm_inbox' => [Bool](../types/Bool.md), 'blocked_mode' => [Bool](../types/Bool.md), 'pfs_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)\], 'dc_txt_domain_name' => [string](../types/string.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), '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), 'revoke_time_limit' => [int](../types/int.md), 'revoke_pm_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), 'autoupdate_url_prefix' => [string](../types/string.md), 'gif_search_username' => [string](../types/string.md), 'venue_search_username' => [string](../types/string.md), 'img_search_username' => [string](../types/string.md), 'static_maps_provider' => [string](../types/string.md), 'caption_length_max' => [int](../types/int.md), 'message_length_max' => [int](../types/int.md), 'webfile_dc_id' => [int](../types/int.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'base_lang_pack_version' => [int](../types/int.md), \];<a name="config"></a>
|
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'default_p2p_contacts' => [Bool](../types/Bool.md), 'preload_featured_stickers' => [Bool](../types/Bool.md), 'ignore_phone_entities' => [Bool](../types/Bool.md), 'revoke_pm_inbox' => [Bool](../types/Bool.md), 'blocked_mode' => [Bool](../types/Bool.md), 'pfs_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)\], 'dc_txt_domain_name' => [string](../types/string.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), '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), 'revoke_time_limit' => [int](../types/int.md), 'revoke_pm_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), 'pinned_infolder_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), 'autoupdate_url_prefix' => [string](../types/string.md), 'gif_search_username' => [string](../types/string.md), 'venue_search_username' => [string](../types/string.md), 'img_search_username' => [string](../types/string.md), 'static_maps_provider' => [string](../types/string.md), 'caption_length_max' => [int](../types/int.md), 'message_length_max' => [int](../types/int.md), 'webfile_dc_id' => [int](../types/int.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'base_lang_pack_version' => [int](../types/int.md), \];<a name="config"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \];<a name="contact"></a>
|
<br><br>[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \];<a name="contact"></a>
|
||||||
@ -298,9 +301,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$contactLinkContact](../constructors/contactLinkContact.md) = \[\];<a name="contactLinkContact"></a>
|
<br><br>[$contactLinkContact](../constructors/contactLinkContact.md) = \[\];<a name="contactLinkContact"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$contactLinkHasPhone](../constructors/contactLinkHasPhone.md) = \[\];<a name="contactLinkHasPhone"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$contactLinkNone](../constructors/contactLinkNone.md) = \[\];<a name="contactLinkNone"></a>
|
<br><br>[$contactLinkNone](../constructors/contactLinkNone.md) = \[\];<a name="contactLinkNone"></a>
|
||||||
|
|
||||||
@ -421,11 +421,17 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$decryptedMessageService\_17](../constructors/decryptedMessageService_17.md) = \['action' => [DecryptedMessageAction](../types/DecryptedMessageAction.md), \];<a name="decryptedMessageService_17"></a>
|
<br><br>[$decryptedMessageService\_17](../constructors/decryptedMessageService_17.md) = \['action' => [DecryptedMessageAction](../types/DecryptedMessageAction.md), \];<a name="decryptedMessageService_17"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$dialog](../constructors/dialog.md) = \['pinned' => [Bool](../types/Bool.md), 'unread_mark' => [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>
|
<br><br>[$dialog](../constructors/dialog.md) = \['pinned' => [Bool](../types/Bool.md), 'unread_mark' => [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), 'folder_id' => [int](../types/int.md), \];<a name="dialog"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$dialogFolder](../constructors/dialogFolder.md) = \['pinned' => [Bool](../types/Bool.md), 'folder' => [Folder](../types/Folder.md), 'peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'unread_muted_peers_count' => [int](../types/int.md), 'unread_unmuted_peers_count' => [int](../types/int.md), 'unread_muted_messages_count' => [int](../types/int.md), 'unread_unmuted_messages_count' => [int](../types/int.md), \];<a name="dialogFolder"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$dialogPeer](../constructors/dialogPeer.md) = \['peer' => [Peer](../types/Peer.md), \];<a name="dialogPeer"></a>
|
<br><br>[$dialogPeer](../constructors/dialogPeer.md) = \['peer' => [Peer](../types/Peer.md), \];<a name="dialogPeer"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$dialogPeerFolder](../constructors/dialogPeerFolder.md) = \['folder_id' => [int](../types/int.md), \];<a name="dialogPeerFolder"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumbs' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \];<a name="document"></a>
|
<br><br>[$document](../constructors/document.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'size' => [int](../types/int.md), 'thumbs' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), 'attributes' => \[[DocumentAttribute](../types/DocumentAttribute.md)\], \];<a name="document"></a>
|
||||||
|
|
||||||
@ -468,6 +474,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$emojiKeywordsDifference](../constructors/emojiKeywordsDifference.md) = \['lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), 'version' => [int](../types/int.md), 'keywords' => \[[EmojiKeyword](../types/EmojiKeyword.md)\], \];<a name="emojiKeywordsDifference"></a>
|
<br><br>[$emojiKeywordsDifference](../constructors/emojiKeywordsDifference.md) = \['lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), 'version' => [int](../types/int.md), 'keywords' => \[[EmojiKeyword](../types/EmojiKeyword.md)\], \];<a name="emojiKeywordsDifference"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$emojiLanguage](../constructors/emojiLanguage.md) = \['lang_code' => [string](../types/string.md), \];<a name="emojiLanguage"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$emojiURL](../constructors/emojiURL.md) = \['url' => [string](../types/string.md), \];<a name="emojiURL"></a>
|
<br><br>[$emojiURL](../constructors/emojiURL.md) = \['url' => [string](../types/string.md), \];<a name="emojiURL"></a>
|
||||||
|
|
||||||
@ -511,7 +520,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$fileLocation\_23](../constructors/fileLocation_23.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \];<a name="fileLocation_23"></a>
|
<br><br>[$fileLocation\_23](../constructors/fileLocation_23.md) = \['dc_id' => [int](../types/int.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \];<a name="fileLocation_23"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$fileLocationUnavailable](../constructors/fileLocationUnavailable.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \];<a name="fileLocationUnavailable"></a>
|
<br><br>[$fileLocationToBeDeprecated](../constructors/fileLocationToBeDeprecated.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), \];<a name="fileLocationToBeDeprecated"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$fileLocationUnavailable\_23](../constructors/fileLocationUnavailable_23.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), \];<a name="fileLocationUnavailable_23"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$folder](../constructors/folder.md) = \['autofill_new_broadcasts' => [Bool](../types/Bool.md), 'autofill_public_groups' => [Bool](../types/Bool.md), 'autofill_new_correspondents' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), \];<a name="folder"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$folderPeer](../constructors/folderPeer.md) = \['peer' => [Peer](../types/Peer.md), 'folder_id' => [int](../types/int.md), \];<a name="folderPeer"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$foundGif](../constructors/foundGif.md) = \['url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \];<a name="foundGif"></a>
|
<br><br>[$foundGif](../constructors/foundGif.md) = \['url' => [string](../types/string.md), 'thumb_url' => [string](../types/string.md), 'content_url' => [string](../types/string.md), 'content_type' => [string](../types/string.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), \];<a name="foundGif"></a>
|
||||||
@ -616,6 +634,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\];<a name="inputChannelEmpty"></a>
|
<br><br>[$inputChannelEmpty](../constructors/inputChannelEmpty.md) = \[\];<a name="inputChannelEmpty"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputChannelFromMessage](../constructors/inputChannelFromMessage.md) = \['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), \];<a name="inputChannelFromMessage"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \];<a name="inputChatPhoto"></a>
|
<br><br>[$inputChatPhoto](../constructors/inputChatPhoto.md) = \['id' => [InputPhoto](../types/InputPhoto.md), \];<a name="inputChatPhoto"></a>
|
||||||
|
|
||||||
@ -637,6 +658,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputDialogPeer](../constructors/inputDialogPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \];<a name="inputDialogPeer"></a>
|
<br><br>[$inputDialogPeer](../constructors/inputDialogPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), \];<a name="inputDialogPeer"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputDialogPeerFolder](../constructors/inputDialogPeerFolder.md) = \['folder_id' => [int](../types/int.md), \];<a name="inputDialogPeerFolder"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), \];<a name="inputDocument"></a>
|
<br><br>[$inputDocument](../constructors/inputDocument.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), \];<a name="inputDocument"></a>
|
||||||
|
|
||||||
@ -644,7 +668,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\];<a name="inputDocumentEmpty"></a>
|
<br><br>[$inputDocumentEmpty](../constructors/inputDocumentEmpty.md) = \[\];<a name="inputDocumentEmpty"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), \];<a name="inputDocumentFileLocation"></a>
|
<br><br>[$inputDocumentFileLocation](../constructors/inputDocumentFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'thumb_size' => [string](../types/string.md), \];<a name="inputDocumentFileLocation"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputEncryptedChat"></a>
|
<br><br>[$inputEncryptedChat](../constructors/inputEncryptedChat.md) = \['chat_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputEncryptedChat"></a>
|
||||||
@ -673,6 +697,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), \];<a name="inputFileLocation"></a>
|
<br><br>[$inputFileLocation](../constructors/inputFileLocation.md) = \['volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), 'secret' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), \];<a name="inputFileLocation"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputFolderPeer](../constructors/inputFolderPeer.md) = \['peer' => [InputPeer](../types/InputPeer.md), 'folder_id' => [int](../types/int.md), \];<a name="inputFolderPeer"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputGameID](../constructors/inputGameID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputGameID"></a>
|
<br><br>[$inputGameID](../constructors/inputGameID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputGameID"></a>
|
||||||
|
|
||||||
@ -685,6 +712,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\];<a name="inputGeoPointEmpty"></a>
|
<br><br>[$inputGeoPointEmpty](../constructors/inputGeoPointEmpty.md) = \[\];<a name="inputGeoPointEmpty"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputKeyboardButtonUrlAuth](../constructors/inputKeyboardButtonUrlAuth.md) = \['request_write_access' => [Bool](../types/Bool.md), 'text' => [string](../types/string.md), 'fwd_text' => [string](../types/string.md), 'url' => [string](../types/string.md), 'bot' => [InputUser](../types/InputUser.md), \];<a name="inputKeyboardButtonUrlAuth"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'vcard' => [string](../types/string.md), \];<a name="inputMediaContact"></a>
|
<br><br>[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'vcard' => [string](../types/string.md), \];<a name="inputMediaContact"></a>
|
||||||
|
|
||||||
@ -817,6 +847,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputPeerChannel"></a>
|
<br><br>[$inputPeerChannel](../constructors/inputPeerChannel.md) = \['channel_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputPeerChannel"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPeerChannelFromMessage](../constructors/inputPeerChannelFromMessage.md) = \['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), \];<a name="inputPeerChannelFromMessage"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \];<a name="inputPeerChat"></a>
|
<br><br>[$inputPeerChat](../constructors/inputPeerChat.md) = \['chat_id' => [int](../types/int.md), \];<a name="inputPeerChat"></a>
|
||||||
|
|
||||||
@ -826,12 +859,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \];<a name="inputPeerNotifySettings"></a>
|
<br><br>[$inputPeerNotifySettings](../constructors/inputPeerNotifySettings.md) = \['show_previews' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'mute_until' => [int](../types/int.md), 'sound' => [string](../types/string.md), \];<a name="inputPeerNotifySettings"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPeerPhotoFileLocation](../constructors/inputPeerPhotoFileLocation.md) = \['big' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), \];<a name="inputPeerPhotoFileLocation"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\];<a name="inputPeerSelf"></a>
|
<br><br>[$inputPeerSelf](../constructors/inputPeerSelf.md) = \[\];<a name="inputPeerSelf"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputPeerUser"></a>
|
<br><br>[$inputPeerUser](../constructors/inputPeerUser.md) = \['user_id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), \];<a name="inputPeerUser"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPeerUserFromMessage](../constructors/inputPeerUserFromMessage.md) = \['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), \];<a name="inputPeerUserFromMessage"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPhoneCall](../constructors/inputPhoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputPhoneCall"></a>
|
<br><br>[$inputPhoneCall](../constructors/inputPhoneCall.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputPhoneCall"></a>
|
||||||
|
|
||||||
@ -844,6 +883,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\];<a name="inputPhotoEmpty"></a>
|
<br><br>[$inputPhotoEmpty](../constructors/inputPhotoEmpty.md) = \[\];<a name="inputPhotoEmpty"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPhotoFileLocation](../constructors/inputPhotoFileLocation.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'thumb_size' => [string](../types/string.md), \];<a name="inputPhotoFileLocation"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) = \[\];<a name="inputPrivacyKeyChatInvite"></a>
|
<br><br>[$inputPrivacyKeyChatInvite](../constructors/inputPrivacyKeyChatInvite.md) = \[\];<a name="inputPrivacyKeyChatInvite"></a>
|
||||||
|
|
||||||
@ -853,6 +895,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyKeyPhoneCall](../constructors/inputPrivacyKeyPhoneCall.md) = \[\];<a name="inputPrivacyKeyPhoneCall"></a>
|
<br><br>[$inputPrivacyKeyPhoneCall](../constructors/inputPrivacyKeyPhoneCall.md) = \[\];<a name="inputPrivacyKeyPhoneCall"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPrivacyKeyPhoneNumber](../constructors/inputPrivacyKeyPhoneNumber.md) = \[\];<a name="inputPrivacyKeyPhoneNumber"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyKeyPhoneP2P](../constructors/inputPrivacyKeyPhoneP2P.md) = \[\];<a name="inputPrivacyKeyPhoneP2P"></a>
|
<br><br>[$inputPrivacyKeyPhoneP2P](../constructors/inputPrivacyKeyPhoneP2P.md) = \[\];<a name="inputPrivacyKeyPhoneP2P"></a>
|
||||||
|
|
||||||
@ -865,6 +910,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\];<a name="inputPrivacyValueAllowAll"></a>
|
<br><br>[$inputPrivacyValueAllowAll](../constructors/inputPrivacyValueAllowAll.md) = \[\];<a name="inputPrivacyValueAllowAll"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPrivacyValueAllowChatParticipants](../constructors/inputPrivacyValueAllowChatParticipants.md) = \['chats' => \[[int](../types/int.md)\], \];<a name="inputPrivacyValueAllowChatParticipants"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\];<a name="inputPrivacyValueAllowContacts"></a>
|
<br><br>[$inputPrivacyValueAllowContacts](../constructors/inputPrivacyValueAllowContacts.md) = \[\];<a name="inputPrivacyValueAllowContacts"></a>
|
||||||
|
|
||||||
@ -874,6 +922,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\];<a name="inputPrivacyValueDisallowAll"></a>
|
<br><br>[$inputPrivacyValueDisallowAll](../constructors/inputPrivacyValueDisallowAll.md) = \[\];<a name="inputPrivacyValueDisallowAll"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputPrivacyValueDisallowChatParticipants](../constructors/inputPrivacyValueDisallowChatParticipants.md) = \['chats' => \[[int](../types/int.md)\], \];<a name="inputPrivacyValueDisallowChatParticipants"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\];<a name="inputPrivacyValueDisallowContacts"></a>
|
<br><br>[$inputPrivacyValueDisallowContacts](../constructors/inputPrivacyValueDisallowContacts.md) = \[\];<a name="inputPrivacyValueDisallowContacts"></a>
|
||||||
|
|
||||||
@ -925,6 +976,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \];<a name="inputStickerSetShortName"></a>
|
<br><br>[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \];<a name="inputStickerSetShortName"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputStickerSetThumb](../constructors/inputStickerSetThumb.md) = \['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'volume_id' => [long](../types/long.md), 'local_id' => [int](../types/int.md), \];<a name="inputStickerSetThumb"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputStickeredMediaDocument](../constructors/inputStickeredMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \];<a name="inputStickeredMediaDocument"></a>
|
<br><br>[$inputStickeredMediaDocument](../constructors/inputStickeredMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), \];<a name="inputStickeredMediaDocument"></a>
|
||||||
|
|
||||||
@ -940,6 +994,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\];<a name="inputUserEmpty"></a>
|
<br><br>[$inputUserEmpty](../constructors/inputUserEmpty.md) = \[\];<a name="inputUserEmpty"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputUserFromMessage](../constructors/inputUserFromMessage.md) = \['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), \];<a name="inputUserFromMessage"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputUserSelf](../constructors/inputUserSelf.md) = \[\];<a name="inputUserSelf"></a>
|
<br><br>[$inputUserSelf](../constructors/inputUserSelf.md) = \[\];<a name="inputUserSelf"></a>
|
||||||
|
|
||||||
@ -1015,6 +1072,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$keyboardButtonUrl](../constructors/keyboardButtonUrl.md) = \['text' => [string](../types/string.md), 'url' => [string](../types/string.md), \];<a name="keyboardButtonUrl"></a>
|
<br><br>[$keyboardButtonUrl](../constructors/keyboardButtonUrl.md) = \['text' => [string](../types/string.md), 'url' => [string](../types/string.md), \];<a name="keyboardButtonUrl"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$keyboardButtonUrlAuth](../constructors/keyboardButtonUrlAuth.md) = \['text' => [string](../types/string.md), 'fwd_text' => [string](../types/string.md), 'url' => [string](../types/string.md), 'button_id' => [int](../types/int.md), \];<a name="keyboardButtonUrlAuth"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$labeledPrice](../constructors/labeledPrice.md) = \['label' => [string](../types/string.md), 'amount' => [long](../types/long.md), \];<a name="labeledPrice"></a>
|
<br><br>[$labeledPrice](../constructors/labeledPrice.md) = \['label' => [string](../types/string.md), 'amount' => [long](../types/long.md), \];<a name="labeledPrice"></a>
|
||||||
|
|
||||||
@ -1037,7 +1097,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<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>[$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), 'from_scheduled' => [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>[$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), 'from_scheduled' => [Bool](../types/Bool.md), 'legacy' => [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>[$messageActionBotAllowed](../constructors/messageActionBotAllowed.md) = \['domain' => [string](../types/string.md), \];<a name="messageActionBotAllowed"></a>
|
<br><br>[$messageActionBotAllowed](../constructors/messageActionBotAllowed.md) = \['domain' => [string](../types/string.md), \];<a name="messageActionBotAllowed"></a>
|
||||||
@ -1094,7 +1154,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$messageActionPaymentSentMe](../constructors/messageActionPaymentSentMe.md) = \['currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'payload' => [bytes](../types/bytes.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping_option_id' => [string](../types/string.md), 'charge' => [PaymentCharge](../types/PaymentCharge.md), \];<a name="messageActionPaymentSentMe"></a>
|
<br><br>[$messageActionPaymentSentMe](../constructors/messageActionPaymentSentMe.md) = \['currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'payload' => [bytes](../types/bytes.md), 'info' => [PaymentRequestedInfo](../types/PaymentRequestedInfo.md), 'shipping_option_id' => [string](../types/string.md), 'charge' => [PaymentCharge](../types/PaymentCharge.md), \];<a name="messageActionPaymentSentMe"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageActionPhoneCall](../constructors/messageActionPhoneCall.md) = \['call_id' => [long](../types/long.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'duration' => [int](../types/int.md), \];<a name="messageActionPhoneCall"></a>
|
<br><br>[$messageActionPhoneCall](../constructors/messageActionPhoneCall.md) = \['video' => [Bool](../types/Bool.md), 'call_id' => [long](../types/long.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'duration' => [int](../types/int.md), \];<a name="messageActionPhoneCall"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageActionPinMessage](../constructors/messageActionPinMessage.md) = \[\];<a name="messageActionPinMessage"></a>
|
<br><br>[$messageActionPinMessage](../constructors/messageActionPinMessage.md) = \[\];<a name="messageActionPinMessage"></a>
|
||||||
@ -1196,7 +1256,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \];<a name="messageRange"></a>
|
<br><br>[$messageRange](../constructors/messageRange.md) = \['min_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \];<a name="messageRange"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \];<a name="messageService"></a>
|
<br><br>[$messageService](../constructors/messageService.md) = \['out' => [Bool](../types/Bool.md), 'mentioned' => [Bool](../types/Bool.md), 'media_unread' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'post' => [Bool](../types/Bool.md), 'legacy' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'from_id' => [int](../types/int.md), 'to_id' => [Peer](../types/Peer.md), 'reply_to_msg_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'action' => [MessageAction](../types/MessageAction.md), \];<a name="messageService"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \];<a name="messages_affectedHistory"></a>
|
<br><br>[$messages\_affectedHistory](../constructors/messages_affectedHistory.md) = \['pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), 'offset' => [int](../types/int.md), \];<a name="messages_affectedHistory"></a>
|
||||||
@ -1253,7 +1313,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \];<a name="messages_messagesNotModified"></a>
|
[$messages\_messagesNotModified](../constructors/messages_messagesNotModified.md) = \['count' => [int](../types/int.md), \];<a name="messages_messagesNotModified"></a>
|
||||||
|
|
||||||
[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="messages_messagesSlice"></a>
|
[$messages\_messagesSlice](../constructors/messages_messagesSlice.md) = \['inexact' => [Bool](../types/Bool.md), 'count' => [int](../types/int.md), 'next_rate' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="messages_messagesSlice"></a>
|
||||||
|
|
||||||
[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \];<a name="messages_peerDialogs"></a>
|
[$messages\_peerDialogs](../constructors/messages_peerDialogs.md) = \['dialogs' => \[[Dialog](../types/Dialog.md)\], 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \];<a name="messages_peerDialogs"></a>
|
||||||
|
|
||||||
@ -1265,6 +1325,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\];<a name="messages_savedGifsNotModified"></a>
|
[$messages\_savedGifsNotModified](../constructors/messages_savedGifsNotModified.md) = \[\];<a name="messages_savedGifsNotModified"></a>
|
||||||
|
|
||||||
|
[$messages\_searchCounter](../constructors/messages_searchCounter.md) = \['inexact' => [Bool](../types/Bool.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'count' => [int](../types/int.md), \];<a name="messages_searchCounter"></a>
|
||||||
|
|
||||||
[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \];<a name="messages_sentEncryptedFile"></a>
|
[$messages\_sentEncryptedFile](../constructors/messages_sentEncryptedFile.md) = \['date' => [int](../types/int.md), 'file' => [EncryptedFile](../types/EncryptedFile.md), \];<a name="messages_sentEncryptedFile"></a>
|
||||||
|
|
||||||
[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \];<a name="messages_sentEncryptedMessage"></a>
|
[$messages\_sentEncryptedMessage](../constructors/messages_sentEncryptedMessage.md) = \['date' => [int](../types/int.md), \];<a name="messages_sentEncryptedMessage"></a>
|
||||||
@ -1455,10 +1517,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \];<a name="peerUser"></a>
|
<br><br>[$peerUser](../constructors/peerUser.md) = \['user_id' => [int](../types/int.md), \];<a name="peerUser"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connection' => [PhoneConnection](../types/PhoneConnection.md), 'alternative_connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \];<a name="phoneCall"></a>
|
<br><br>[$phoneCall](../constructors/phoneCall.md) = \['p2p_allowed' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'connections' => \[[PhoneConnection](../types/PhoneConnection.md)\], 'start_date' => [int](../types/int.md), \];<a name="phoneCall"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCallAccepted](../constructors/phoneCallAccepted.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \];<a name="phoneCallAccepted"></a>
|
<br><br>[$phoneCallAccepted](../constructors/phoneCallAccepted.md) = \['video' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_b' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \];<a name="phoneCallAccepted"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCallDiscardReasonBusy](../constructors/phoneCallDiscardReasonBusy.md) = \[\];<a name="phoneCallDiscardReasonBusy"></a>
|
<br><br>[$phoneCallDiscardReasonBusy](../constructors/phoneCallDiscardReasonBusy.md) = \[\];<a name="phoneCallDiscardReasonBusy"></a>
|
||||||
@ -1473,7 +1535,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$phoneCallDiscardReasonMissed](../constructors/phoneCallDiscardReasonMissed.md) = \[\];<a name="phoneCallDiscardReasonMissed"></a>
|
<br><br>[$phoneCallDiscardReasonMissed](../constructors/phoneCallDiscardReasonMissed.md) = \[\];<a name="phoneCallDiscardReasonMissed"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCallDiscarded](../constructors/phoneCallDiscarded.md) = \['need_rating' => [Bool](../types/Bool.md), 'need_debug' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'duration' => [int](../types/int.md), \];<a name="phoneCallDiscarded"></a>
|
<br><br>[$phoneCallDiscarded](../constructors/phoneCallDiscarded.md) = \['need_rating' => [Bool](../types/Bool.md), 'need_debug' => [Bool](../types/Bool.md), 'video' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'duration' => [int](../types/int.md), \];<a name="phoneCallDiscarded"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCallEmpty](../constructors/phoneCallEmpty.md) = \['id' => [long](../types/long.md), \];<a name="phoneCallEmpty"></a>
|
<br><br>[$phoneCallEmpty](../constructors/phoneCallEmpty.md) = \['id' => [long](../types/long.md), \];<a name="phoneCallEmpty"></a>
|
||||||
@ -1482,10 +1544,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$phoneCallProtocol](../constructors/phoneCallProtocol.md) = \['udp_p2p' => [Bool](../types/Bool.md), 'udp_reflector' => [Bool](../types/Bool.md), 'min_layer' => [int](../types/int.md), 'max_layer' => [int](../types/int.md), \];<a name="phoneCallProtocol"></a>
|
<br><br>[$phoneCallProtocol](../constructors/phoneCallProtocol.md) = \['udp_p2p' => [Bool](../types/Bool.md), 'udp_reflector' => [Bool](../types/Bool.md), 'min_layer' => [int](../types/int.md), 'max_layer' => [int](../types/int.md), \];<a name="phoneCallProtocol"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCallRequested](../constructors/phoneCallRequested.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \];<a name="phoneCallRequested"></a>
|
<br><br>[$phoneCallRequested](../constructors/phoneCallRequested.md) = \['video' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \];<a name="phoneCallRequested"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneCallWaiting](../constructors/phoneCallWaiting.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'receive_date' => [int](../types/int.md), \];<a name="phoneCallWaiting"></a>
|
<br><br>[$phoneCallWaiting](../constructors/phoneCallWaiting.md) = \['video' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), 'receive_date' => [int](../types/int.md), \];<a name="phoneCallWaiting"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \];<a name="phoneConnection"></a>
|
<br><br>[$phoneConnection](../constructors/phoneConnection.md) = \['id' => [long](../types/long.md), 'ip' => [string](../types/string.md), 'ipv6' => [string](../types/string.md), 'port' => [int](../types/int.md), 'peer_tag' => [bytes](../types/bytes.md), \];<a name="phoneConnection"></a>
|
||||||
@ -1494,7 +1556,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \];<a name="phone_phoneCall"></a>
|
<br><br>[$phone\_phoneCall](../constructors/phone_phoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), 'users' => \[[User](../types/User.md)\], \];<a name="phone_phoneCall"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], \];<a name="photo"></a>
|
<br><br>[$photo](../constructors/photo.md) = \['has_stickers' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'file_reference' => [bytes](../types/bytes.md), 'date' => [int](../types/int.md), 'sizes' => \[[PhotoSize](../types/PhotoSize.md)\], 'dc_id' => [int](../types/int.md), \];<a name="photo"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \];<a name="photoCachedSize"></a>
|
<br><br>[$photoCachedSize](../constructors/photoCachedSize.md) = \['type' => [string](../types/string.md), 'location' => [FileLocation](../types/FileLocation.md), 'w' => [int](../types/int.md), 'h' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \];<a name="photoCachedSize"></a>
|
||||||
@ -1545,6 +1607,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$privacyKeyPhoneCall](../constructors/privacyKeyPhoneCall.md) = \[\];<a name="privacyKeyPhoneCall"></a>
|
<br><br>[$privacyKeyPhoneCall](../constructors/privacyKeyPhoneCall.md) = \[\];<a name="privacyKeyPhoneCall"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$privacyKeyPhoneNumber](../constructors/privacyKeyPhoneNumber.md) = \[\];<a name="privacyKeyPhoneNumber"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$privacyKeyPhoneP2P](../constructors/privacyKeyPhoneP2P.md) = \[\];<a name="privacyKeyPhoneP2P"></a>
|
<br><br>[$privacyKeyPhoneP2P](../constructors/privacyKeyPhoneP2P.md) = \[\];<a name="privacyKeyPhoneP2P"></a>
|
||||||
|
|
||||||
@ -1557,6 +1622,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\];<a name="privacyValueAllowAll"></a>
|
<br><br>[$privacyValueAllowAll](../constructors/privacyValueAllowAll.md) = \[\];<a name="privacyValueAllowAll"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$privacyValueAllowChatParticipants](../constructors/privacyValueAllowChatParticipants.md) = \['chats' => \[[int](../types/int.md)\], \];<a name="privacyValueAllowChatParticipants"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\];<a name="privacyValueAllowContacts"></a>
|
<br><br>[$privacyValueAllowContacts](../constructors/privacyValueAllowContacts.md) = \[\];<a name="privacyValueAllowContacts"></a>
|
||||||
|
|
||||||
@ -1566,6 +1634,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\];<a name="privacyValueDisallowAll"></a>
|
<br><br>[$privacyValueDisallowAll](../constructors/privacyValueDisallowAll.md) = \[\];<a name="privacyValueDisallowAll"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$privacyValueDisallowChatParticipants](../constructors/privacyValueDisallowChatParticipants.md) = \['chats' => \[[int](../types/int.md)\], \];<a name="privacyValueDisallowChatParticipants"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\];<a name="privacyValueDisallowContacts"></a>
|
<br><br>[$privacyValueDisallowContacts](../constructors/privacyValueDisallowContacts.md) = \[\];<a name="privacyValueDisallowContacts"></a>
|
||||||
|
|
||||||
@ -1765,7 +1836,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \];<a name="stickerPack"></a>
|
<br><br>[$stickerPack](../constructors/stickerPack.md) = \['emoticon' => [string](../types/string.md), 'documents' => \[[long](../types/long.md)\], \];<a name="stickerPack"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$stickerSet](../constructors/stickerSet.md) = \['archived' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'masks' => [Bool](../types/Bool.md), 'installed_date' => [int](../types/int.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \];<a name="stickerSet"></a>
|
<br><br>[$stickerSet](../constructors/stickerSet.md) = \['archived' => [Bool](../types/Bool.md), 'official' => [Bool](../types/Bool.md), 'masks' => [Bool](../types/Bool.md), 'installed_date' => [int](../types/int.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'thumb' => [PhotoSize](../types/PhotoSize.md), 'thumb_dc_id' => [int](../types/int.md), 'count' => [int](../types/int.md), 'hash' => [int](../types/int.md), \];<a name="stickerSet"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$stickerSetCovered](../constructors/stickerSetCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'cover' => [Document](../types/Document.md), \];<a name="stickerSetCovered"></a>
|
<br><br>[$stickerSetCovered](../constructors/stickerSetCovered.md) = \['set' => [StickerSet](../types/StickerSet.md), 'cover' => [Document](../types/Document.md), \];<a name="stickerSetCovered"></a>
|
||||||
@ -1857,6 +1928,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$topPeerCategoryCorrespondents](../constructors/topPeerCategoryCorrespondents.md) = \[\];<a name="topPeerCategoryCorrespondents"></a>
|
<br><br>[$topPeerCategoryCorrespondents](../constructors/topPeerCategoryCorrespondents.md) = \[\];<a name="topPeerCategoryCorrespondents"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$topPeerCategoryForwardChats](../constructors/topPeerCategoryForwardChats.md) = \[\];<a name="topPeerCategoryForwardChats"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$topPeerCategoryForwardUsers](../constructors/topPeerCategoryForwardUsers.md) = \[\];<a name="topPeerCategoryForwardUsers"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$topPeerCategoryGroups](../constructors/topPeerCategoryGroups.md) = \[\];<a name="topPeerCategoryGroups"></a>
|
<br><br>[$topPeerCategoryGroups](../constructors/topPeerCategoryGroups.md) = \[\];<a name="topPeerCategoryGroups"></a>
|
||||||
|
|
||||||
@ -1951,7 +2028,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateDeleteMessages"></a>
|
<br><br>[$updateDeleteMessages](../constructors/updateDeleteMessages.md) = \['messages' => \[[int](../types/int.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateDeleteMessages"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateDialogPinned](../constructors/updateDialogPinned.md) = \['pinned' => [Bool](../types/Bool.md), 'peer' => [DialogPeer](../types/DialogPeer.md), \];<a name="updateDialogPinned"></a>
|
<br><br>[$updateDialogPinned](../constructors/updateDialogPinned.md) = \['pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'peer' => [DialogPeer](../types/DialogPeer.md), \];<a name="updateDialogPinned"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateDialogUnreadMark](../constructors/updateDialogUnreadMark.md) = \['unread' => [Bool](../types/Bool.md), 'peer' => [DialogPeer](../types/DialogPeer.md), \];<a name="updateDialogUnreadMark"></a>
|
<br><br>[$updateDialogUnreadMark](../constructors/updateDialogUnreadMark.md) = \['unread' => [Bool](../types/Bool.md), 'peer' => [DialogPeer](../types/DialogPeer.md), \];<a name="updateDialogUnreadMark"></a>
|
||||||
@ -1977,6 +2054,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
***
|
***
|
||||||
<br><br>[$updateFavedStickers](../constructors/updateFavedStickers.md) = \[\];<a name="updateFavedStickers"></a>
|
<br><br>[$updateFavedStickers](../constructors/updateFavedStickers.md) = \[\];<a name="updateFavedStickers"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$updateFolderPeers](../constructors/updateFolderPeers.md) = \['folder_peers' => \[[FolderPeer](../types/FolderPeer.md)\], 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateFolderPeers"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'chat_instance' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'game_short_name' => [string](../types/string.md), \];<a name="updateInlineBotCallbackQuery"></a>
|
<br><br>[$updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'chat_instance' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'game_short_name' => [string](../types/string.md), \];<a name="updateInlineBotCallbackQuery"></a>
|
||||||
|
|
||||||
@ -2011,7 +2091,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$updatePhoneCall](../constructors/updatePhoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), \];<a name="updatePhoneCall"></a>
|
<br><br>[$updatePhoneCall](../constructors/updatePhoneCall.md) = \['phone_call' => [PhoneCall](../types/PhoneCall.md), \];<a name="updatePhoneCall"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updatePinnedDialogs](../constructors/updatePinnedDialogs.md) = \['order' => \[[DialogPeer](../types/DialogPeer.md)\], \];<a name="updatePinnedDialogs"></a>
|
<br><br>[$updatePinnedDialogs](../constructors/updatePinnedDialogs.md) = \['folder_id' => [int](../types/int.md), 'order' => \[[DialogPeer](../types/DialogPeer.md)\], \];<a name="updatePinnedDialogs"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \];<a name="updatePrivacy"></a>
|
<br><br>[$updatePrivacy](../constructors/updatePrivacy.md) = \['key' => [PrivacyKey](../types/PrivacyKey.md), 'rules' => \[[PrivacyRule](../types/PrivacyRule.md)\], \];<a name="updatePrivacy"></a>
|
||||||
@ -2020,7 +2100,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$updatePtsChanged](../constructors/updatePtsChanged.md) = \[\];<a name="updatePtsChanged"></a>
|
<br><br>[$updatePtsChanged](../constructors/updatePtsChanged.md) = \[\];<a name="updatePtsChanged"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \];<a name="updateReadChannelInbox"></a>
|
<br><br>[$updateReadChannelInbox](../constructors/updateReadChannelInbox.md) = \['folder_id' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'still_unread_count' => [int](../types/int.md), 'pts' => [int](../types/int.md), \];<a name="updateReadChannelInbox"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateReadChannelOutbox](../constructors/updateReadChannelOutbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \];<a name="updateReadChannelOutbox"></a>
|
<br><br>[$updateReadChannelOutbox](../constructors/updateReadChannelOutbox.md) = \['channel_id' => [int](../types/int.md), 'max_id' => [int](../types/int.md), \];<a name="updateReadChannelOutbox"></a>
|
||||||
@ -2029,7 +2109,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
<br><br>[$updateReadFeaturedStickers](../constructors/updateReadFeaturedStickers.md) = \[\];<a name="updateReadFeaturedStickers"></a>
|
<br><br>[$updateReadFeaturedStickers](../constructors/updateReadFeaturedStickers.md) = \[\];<a name="updateReadFeaturedStickers"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateReadHistoryInbox"></a>
|
<br><br>[$updateReadHistoryInbox](../constructors/updateReadHistoryInbox.md) = \['folder_id' => [int](../types/int.md), 'peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'still_unread_count' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateReadHistoryInbox"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateReadHistoryOutbox"></a>
|
<br><br>[$updateReadHistoryOutbox](../constructors/updateReadHistoryOutbox.md) = \['peer' => [Peer](../types/Peer.md), 'max_id' => [int](../types/int.md), 'pts' => [int](../types/int.md), 'pts_count' => [int](../types/int.md), \];<a name="updateReadHistoryOutbox"></a>
|
||||||
@ -2102,7 +2182,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \];<a name="updates_channelDifferenceEmpty"></a>
|
[$updates\_channelDifferenceEmpty](../constructors/updates_channelDifferenceEmpty.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), \];<a name="updates_channelDifferenceEmpty"></a>
|
||||||
|
|
||||||
[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'pts' => [int](../types/int.md), 'timeout' => [int](../types/int.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="updates_channelDifferenceTooLong"></a>
|
[$updates\_channelDifferenceTooLong](../constructors/updates_channelDifferenceTooLong.md) = \['final' => [Bool](../types/Bool.md), 'timeout' => [int](../types/int.md), 'dialog' => [Dialog](../types/Dialog.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="updates_channelDifferenceTooLong"></a>
|
||||||
|
|
||||||
[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \];<a name="updates_difference"></a>
|
[$updates\_difference](../constructors/updates_difference.md) = \['new_messages' => \[[Message](../types/Message.md)\], 'new_encrypted_messages' => \[[EncryptedMessage](../types/EncryptedMessage.md)\], 'other_updates' => \[[Update](../types/Update.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], 'state' => [updates\_State](../types/updates_State.md), \];<a name="updates_difference"></a>
|
||||||
|
|
||||||
@ -2126,16 +2206,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \];<a name="upload_webFile"></a>
|
[$upload\_webFile](../constructors/upload_webFile.md) = \['size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), 'file_type' => [storage\_FileType](../types/storage_FileType.md), 'mtime' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \];<a name="upload_webFile"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'support' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \];<a name="user"></a>
|
<br><br>[$urlAuthResultAccepted](../constructors/urlAuthResultAccepted.md) = \['url' => [string](../types/string.md), \];<a name="urlAuthResultAccepted"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$urlAuthResultDefault](../constructors/urlAuthResultDefault.md) = \[\];<a name="urlAuthResultDefault"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$urlAuthResultRequest](../constructors/urlAuthResultRequest.md) = \['request_write_access' => [Bool](../types/Bool.md), 'bot' => [User](../types/User.md), 'domain' => [string](../types/string.md), \];<a name="urlAuthResultRequest"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$user](../constructors/user.md) = \['self' => [Bool](../types/Bool.md), 'contact' => [Bool](../types/Bool.md), 'mutual_contact' => [Bool](../types/Bool.md), 'deleted' => [Bool](../types/Bool.md), 'bot' => [Bool](../types/Bool.md), 'bot_chat_history' => [Bool](../types/Bool.md), 'bot_nochats' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'bot_inline_geo' => [Bool](../types/Bool.md), 'support' => [Bool](../types/Bool.md), 'scam' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'username' => [string](../types/string.md), 'phone' => [string](../types/string.md), 'photo' => [UserProfilePhoto](../types/UserProfilePhoto.md), 'status' => [UserStatus](../types/UserStatus.md), 'bot_info_version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'bot_inline_placeholder' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \];<a name="user"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \];<a name="userEmpty"></a>
|
<br><br>[$userEmpty](../constructors/userEmpty.md) = \['id' => [int](../types/int.md), \];<a name="userEmpty"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$userFull](../constructors/userFull.md) = \['blocked' => [Bool](../types/Bool.md), 'phone_calls_available' => [Bool](../types/Bool.md), 'phone_calls_private' => [Bool](../types/Bool.md), 'can_pin_message' => [Bool](../types/Bool.md), 'user' => [User](../types/User.md), 'about' => [string](../types/string.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'bot_info' => [BotInfo](../types/BotInfo.md), 'pinned_msg_id' => [int](../types/int.md), 'common_chats_count' => [int](../types/int.md), \];<a name="userFull"></a>
|
<br><br>[$userFull](../constructors/userFull.md) = \['blocked' => [Bool](../types/Bool.md), 'phone_calls_available' => [Bool](../types/Bool.md), 'phone_calls_private' => [Bool](../types/Bool.md), 'can_pin_message' => [Bool](../types/Bool.md), 'user' => [User](../types/User.md), 'about' => [string](../types/string.md), 'link' => [contacts\_Link](../types/contacts_Link.md), 'profile_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'bot_info' => [BotInfo](../types/BotInfo.md), 'pinned_msg_id' => [int](../types/int.md), 'common_chats_count' => [int](../types/int.md), 'folder_id' => [int](../types/int.md), \];<a name="userFull"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), \];<a name="userProfilePhoto"></a>
|
<br><br>[$userProfilePhoto](../constructors/userProfilePhoto.md) = \['photo_id' => [long](../types/long.md), 'photo_small' => [FileLocation](../types/FileLocation.md), 'photo_big' => [FileLocation](../types/FileLocation.md), 'dc_id' => [int](../types/int.md), \];<a name="userProfilePhoto"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\];<a name="userProfilePhotoEmpty"></a>
|
<br><br>[$userProfilePhotoEmpty](../constructors/userProfilePhotoEmpty.md) = \[\];<a name="userProfilePhotoEmpty"></a>
|
||||||
|
40
docs/API_docs/constructors/inputChannelFromMessage.md
Normal file
40
docs/API_docs/constructors/inputChannelFromMessage.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: inputChannelFromMessage
|
||||||
|
description: Channel from message
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputChannelFromMessage
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Channel from message
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|Peer|
|
||||||
|
|msg\_id|[int](../types/int.md) | Yes|Message ID|
|
||||||
|
|channel\_id|[int](../types/int.md) | Yes|Channel ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputChannel](../types/InputChannel.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputChannelFromMessage = ['_' => 'inputChannelFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'channel_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputChannelFromMessage={_='inputChannelFromMessage', peer=InputPeer, msg_id=int, channel_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
38
docs/API_docs/constructors/inputDialogPeerFolder.md
Normal file
38
docs/API_docs/constructors/inputDialogPeerFolder.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: inputDialogPeerFolder
|
||||||
|
description: Dialog peer folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputDialogPeerFolder
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Dialog peer folder
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Yes|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputDialogPeer](../types/InputDialogPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputDialogPeerFolder = ['_' => 'inputDialogPeerFolder', 'folder_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputDialogPeerFolder={_='inputDialogPeerFolder', folder_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -17,6 +17,7 @@ Document file location
|
|||||||
|id|[long](../types/long.md) | Yes|ID|
|
|id|[long](../types/long.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||||
|file\_reference|[bytes](../types/bytes.md) | Yes|File reference|
|
|file\_reference|[bytes](../types/bytes.md) | Yes|File reference|
|
||||||
|
|thumb\_size|[string](../types/string.md) | Yes|Thumb size|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -26,14 +27,14 @@ Document file location
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes'];
|
$inputDocumentFileLocation = ['_' => 'inputDocumentFileLocation', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes', 'thumb_size' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, file_reference='bytes'}
|
inputDocumentFileLocation={_='inputDocumentFileLocation', id=long, access_hash=long, file_reference='bytes', thumb_size='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
39
docs/API_docs/constructors/inputFolderPeer.md
Normal file
39
docs/API_docs/constructors/inputFolderPeer.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: inputFolderPeer
|
||||||
|
description: Folder peer
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputFolderPeer
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Folder peer
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|Peer|
|
||||||
|
|folder\_id|[int](../types/int.md) | Yes|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputFolderPeer](../types/InputFolderPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputFolderPeer = ['_' => 'inputFolderPeer', 'peer' => InputPeer, 'folder_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputFolderPeer={_='inputFolderPeer', peer=InputPeer, folder_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
42
docs/API_docs/constructors/inputKeyboardButtonUrlAuth.md
Normal file
42
docs/API_docs/constructors/inputKeyboardButtonUrlAuth.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
title: inputKeyboardButtonUrlAuth
|
||||||
|
description: Request authorization
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputKeyboardButtonUrlAuth
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Request authorization
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|request\_write\_access|[Bool](../types/Bool.md) | Optional|Request write access?|
|
||||||
|
|text|[string](../types/string.md) | Yes|Text|
|
||||||
|
|fwd\_text|[string](../types/string.md) | Optional|Forward text|
|
||||||
|
|url|[string](../types/string.md) | Yes|URL|
|
||||||
|
|bot|[InputUser](../types/InputUser.md) | Optional|Bot|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [KeyboardButton](../types/KeyboardButton.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputKeyboardButtonUrlAuth = ['_' => 'inputKeyboardButtonUrlAuth', 'request_write_access' => Bool, 'text' => 'string', 'fwd_text' => 'string', 'url' => 'string', 'bot' => InputUser];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputKeyboardButtonUrlAuth={_='inputKeyboardButtonUrlAuth', request_write_access=Bool, text='string', fwd_text='string', url='string', bot=InputUser}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
40
docs/API_docs/constructors/inputPeerChannelFromMessage.md
Normal file
40
docs/API_docs/constructors/inputPeerChannelFromMessage.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: inputPeerChannelFromMessage
|
||||||
|
description: Channel from message
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPeerChannelFromMessage
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Channel from message
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|Peer|
|
||||||
|
|msg\_id|[int](../types/int.md) | Yes|Message ID|
|
||||||
|
|channel\_id|[int](../types/int.md) | Yes|Channel ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputPeer](../types/InputPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPeerChannelFromMessage = ['_' => 'inputPeerChannelFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'channel_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPeerChannelFromMessage={_='inputPeerChannelFromMessage', peer=InputPeer, msg_id=int, channel_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
41
docs/API_docs/constructors/inputPeerPhotoFileLocation.md
Normal file
41
docs/API_docs/constructors/inputPeerPhotoFileLocation.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
title: inputPeerPhotoFileLocation
|
||||||
|
description: Profile picture location
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPeerPhotoFileLocation
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Profile picture location
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|big|[Bool](../types/Bool.md) | Optional|Big?|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|Peer|
|
||||||
|
|volume\_id|[long](../types/long.md) | Yes|Volume ID|
|
||||||
|
|local\_id|[int](../types/int.md) | Yes|Local ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputFileLocation](../types/InputFileLocation.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPeerPhotoFileLocation = ['_' => 'inputPeerPhotoFileLocation', 'big' => Bool, 'peer' => InputPeer, 'volume_id' => long, 'local_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPeerPhotoFileLocation={_='inputPeerPhotoFileLocation', big=Bool, peer=InputPeer, volume_id=long, local_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
40
docs/API_docs/constructors/inputPeerUserFromMessage.md
Normal file
40
docs/API_docs/constructors/inputPeerUserFromMessage.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: inputPeerUserFromMessage
|
||||||
|
description: User from message
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPeerUserFromMessage
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
User from message
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|Chat|
|
||||||
|
|msg\_id|[int](../types/int.md) | Yes|Message ID|
|
||||||
|
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputPeer](../types/InputPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPeerUserFromMessage = ['_' => 'inputPeerUserFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'user_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPeerUserFromMessage={_='inputPeerUserFromMessage', peer=InputPeer, msg_id=int, user_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
41
docs/API_docs/constructors/inputPhotoFileLocation.md
Normal file
41
docs/API_docs/constructors/inputPhotoFileLocation.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
title: inputPhotoFileLocation
|
||||||
|
description: Photo file location
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPhotoFileLocation
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Photo file location
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|id|[long](../types/long.md) | Yes|ID|
|
||||||
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||||
|
|file\_reference|[bytes](../types/bytes.md) | Yes|File reference|
|
||||||
|
|thumb\_size|[string](../types/string.md) | Yes|Thumb size|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputFileLocation](../types/InputFileLocation.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPhotoFileLocation = ['_' => 'inputPhotoFileLocation', 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes', 'thumb_size' => 'string'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPhotoFileLocation={_='inputPhotoFileLocation', id=long, access_hash=long, file_reference='bytes', thumb_size='string'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
33
docs/API_docs/constructors/inputPrivacyKeyPhoneNumber.md
Normal file
33
docs/API_docs/constructors/inputPrivacyKeyPhoneNumber.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: inputPrivacyKeyPhoneNumber
|
||||||
|
description: Phone number
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPrivacyKeyPhoneNumber
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Phone number
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputPrivacyKey](../types/InputPrivacyKey.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPrivacyKeyPhoneNumber = ['_' => 'inputPrivacyKeyPhoneNumber'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPrivacyKeyPhoneNumber={_='inputPrivacyKeyPhoneNumber'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: inputPrivacyValueAllowChatParticipants
|
||||||
|
description: Allow chat participant?
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPrivacyValueAllowChatParticipants
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Allow chat participant?
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|chats|Array of [int](../types/int.md) | Yes|Chats|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputPrivacyRule](../types/InputPrivacyRule.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPrivacyValueAllowChatParticipants = ['_' => 'inputPrivacyValueAllowChatParticipants', 'chats' => [int, int]];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPrivacyValueAllowChatParticipants={_='inputPrivacyValueAllowChatParticipants', chats={int}}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: inputPrivacyValueDisallowChatParticipants
|
||||||
|
description: Disallowed chats
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputPrivacyValueDisallowChatParticipants
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Disallowed chats
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|chats|Array of [int](../types/int.md) | Yes|CHats|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputPrivacyRule](../types/InputPrivacyRule.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputPrivacyValueDisallowChatParticipants = ['_' => 'inputPrivacyValueDisallowChatParticipants', 'chats' => [int, int]];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputPrivacyValueDisallowChatParticipants={_='inputPrivacyValueDisallowChatParticipants', chats={int}}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
40
docs/API_docs/constructors/inputStickerSetThumb.md
Normal file
40
docs/API_docs/constructors/inputStickerSetThumb.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: inputStickerSetThumb
|
||||||
|
description: Stickerset thumbnail
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputStickerSetThumb
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Stickerset thumbnail
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|Stickerset|
|
||||||
|
|volume\_id|[long](../types/long.md) | Yes|Volume ID|
|
||||||
|
|local\_id|[int](../types/int.md) | Yes|Local ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputFileLocation](../types/InputFileLocation.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputStickerSetThumb = ['_' => 'inputStickerSetThumb', 'stickerset' => InputStickerSet, 'volume_id' => long, 'local_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputStickerSetThumb={_='inputStickerSetThumb', stickerset=InputStickerSet, volume_id=long, local_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
40
docs/API_docs/constructors/inputUserFromMessage.md
Normal file
40
docs/API_docs/constructors/inputUserFromMessage.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: inputUserFromMessage
|
||||||
|
description: User from message
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: inputUserFromMessage
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
User from message
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|Peer|
|
||||||
|
|msg\_id|[int](../types/int.md) | Yes|Message ID|
|
||||||
|
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputUser](../types/InputUser.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$inputUserFromMessage = ['_' => 'inputUserFromMessage', 'peer' => InputPeer, 'msg_id' => int, 'user_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
inputUserFromMessage={_='inputUserFromMessage', peer=InputPeer, msg_id=int, user_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
41
docs/API_docs/constructors/keyboardButtonUrlAuth.md
Normal file
41
docs/API_docs/constructors/keyboardButtonUrlAuth.md
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
title: keyboardButtonUrlAuth
|
||||||
|
description: Url authorization request
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: keyboardButtonUrlAuth
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Url authorization request
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|text|[string](../types/string.md) | Yes|Text|
|
||||||
|
|fwd\_text|[string](../types/string.md) | Optional|Forward text|
|
||||||
|
|url|[string](../types/string.md) | Yes|URL|
|
||||||
|
|button\_id|[int](../types/int.md) | Yes|Button ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [KeyboardButton](../types/KeyboardButton.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$keyboardButtonUrlAuth = ['_' => 'keyboardButtonUrlAuth', 'text' => 'string', 'fwd_text' => 'string', 'url' => 'string', 'button_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
keyboardButtonUrlAuth={_='keyboardButtonUrlAuth', text='string', fwd_text='string', url='string', button_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -20,6 +20,7 @@ Message
|
|||||||
|silent|[Bool](../types/Bool.md) | Optional|Silent?|
|
|silent|[Bool](../types/Bool.md) | Optional|Silent?|
|
||||||
|post|[Bool](../types/Bool.md) | Optional|Post?|
|
|post|[Bool](../types/Bool.md) | Optional|Post?|
|
||||||
|from\_scheduled|[Bool](../types/Bool.md) | Optional|From scheduled?|
|
|from\_scheduled|[Bool](../types/Bool.md) | Optional|From scheduled?|
|
||||||
|
|legacy|[Bool](../types/Bool.md) | Optional|Legacy message|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|from\_id|[int](../types/int.md) | Optional|From ID|
|
|from\_id|[int](../types/int.md) | Optional|From ID|
|
||||||
|to\_id|[Peer](../types/Peer.md) | Yes|To ID|
|
|to\_id|[Peer](../types/Peer.md) | Yes|To ID|
|
||||||
@ -44,14 +45,14 @@ Message
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'from_scheduled' => 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, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string', 'grouped_id' => long];
|
$message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'from_scheduled' => Bool, 'legacy' => 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, MessageEntity], 'views' => int, 'edit_date' => int, 'post_author' => 'string', 'grouped_id' => long];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, from_scheduled=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}
|
message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, from_scheduled=Bool, legacy=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}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ Message action phone call
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|video|[Bool](../types/Bool.md) | Optional|Video call?|
|
||||||
|call\_id|[long](../types/long.md) | Yes|Call ID|
|
|call\_id|[long](../types/long.md) | Yes|Call ID|
|
||||||
|reason|[PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md) | Optional|Reason|
|
|reason|[PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md) | Optional|Reason|
|
||||||
|duration|[int](../types/int.md) | Optional|Duration|
|
|duration|[int](../types/int.md) | Optional|Duration|
|
||||||
@ -26,14 +27,14 @@ Message action phone call
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];
|
$messageActionPhoneCall = ['_' => 'messageActionPhoneCall', 'video' => Bool, 'call_id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
messageActionPhoneCall={_='messageActionPhoneCall', call_id=long, reason=PhoneCallDiscardReason, duration=int}
|
messageActionPhoneCall={_='messageActionPhoneCall', video=Bool, call_id=long, reason=PhoneCallDiscardReason, duration=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ Message service
|
|||||||
|media\_unread|[Bool](../types/Bool.md) | Optional|Media unread?|
|
|media\_unread|[Bool](../types/Bool.md) | Optional|Media unread?|
|
||||||
|silent|[Bool](../types/Bool.md) | Optional|Silent?|
|
|silent|[Bool](../types/Bool.md) | Optional|Silent?|
|
||||||
|post|[Bool](../types/Bool.md) | Optional|Post?|
|
|post|[Bool](../types/Bool.md) | Optional|Post?|
|
||||||
|
|legacy|[Bool](../types/Bool.md) | Optional|Legacy message|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|from\_id|[int](../types/int.md) | Optional|From ID|
|
|from\_id|[int](../types/int.md) | Optional|From ID|
|
||||||
|to\_id|[Peer](../types/Peer.md) | Yes|To ID|
|
|to\_id|[Peer](../types/Peer.md) | Yes|To ID|
|
||||||
@ -34,14 +35,14 @@ Message service
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction];
|
$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'legacy' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction}
|
messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, legacy=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ Messages slice
|
|||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|inexact|[Bool](../types/Bool.md) | Optional|Inexact?|
|
|inexact|[Bool](../types/Bool.md) | Optional|Inexact?|
|
||||||
|count|[int](../types/int.md) | Yes|Count|
|
|count|[int](../types/int.md) | Yes|Count|
|
||||||
|
|next\_rate|[int](../types/int.md) | Optional|Next rate|
|
||||||
|messages|Array of [Message](../types/Message.md) | Yes|Messages|
|
|messages|Array of [Message](../types/Message.md) | Yes|Messages|
|
||||||
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
||||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||||
@ -28,14 +29,14 @@ Messages slice
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
$messages_messagesSlice = ['_' => 'messages.messagesSlice', 'inexact' => Bool, 'count' => int, 'next_rate' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, messages={Message}, chats={Chat}, users={User}}
|
messages_messagesSlice={_='messages.messagesSlice', inexact=Bool, count=int, next_rate=int, messages={Message}, chats={Chat}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
40
docs/API_docs/constructors/messages_searchCounter.md
Normal file
40
docs/API_docs/constructors/messages_searchCounter.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: messages.searchCounter
|
||||||
|
description: Search counter
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: messages.searchCounter
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Search counter
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|inexact|[Bool](../types/Bool.md) | Optional|Inexact?|
|
||||||
|
|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|Filter|
|
||||||
|
|count|[int](../types/int.md) | Yes|Count|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [messages\_SearchCounter](../types/messages_SearchCounter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
messages_searchCounter={_='messages.searchCounter', inexact=Bool, filter=MessagesFilter, count=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -23,8 +23,7 @@ Phone call
|
|||||||
|g\_a\_or\_b|[bytes](../types/bytes.md) | Yes|G a or b|
|
|g\_a\_or\_b|[bytes](../types/bytes.md) | Yes|G a or b|
|
||||||
|key\_fingerprint|[long](../types/long.md) | Yes|Key fingerprint|
|
|key\_fingerprint|[long](../types/long.md) | Yes|Key fingerprint|
|
||||||
|protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | Yes|Protocol|
|
|protocol|[PhoneCallProtocol](../types/PhoneCallProtocol.md) | Yes|Protocol|
|
||||||
|connection|[PhoneConnection](../types/PhoneConnection.md) | Yes|Connection|
|
|connections|Array of [PhoneConnection](../types/PhoneConnection.md) | Yes|Phone connections|
|
||||||
|alternative\_connections|Array of [PhoneConnection](../types/PhoneConnection.md) | Yes|Alternative connections|
|
|
||||||
|start\_date|[int](../types/int.md) | Yes|Start date|
|
|start\_date|[int](../types/int.md) | Yes|Start date|
|
||||||
|
|
||||||
|
|
||||||
@ -35,14 +34,14 @@ Phone call
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$phoneCall = ['_' => 'phoneCall', 'p2p_allowed' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connection' => PhoneConnection, 'alternative_connections' => [PhoneConnection, PhoneConnection], 'start_date' => int];
|
$phoneCall = ['_' => 'phoneCall', 'p2p_allowed' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_or_b' => 'bytes', 'key_fingerprint' => long, 'protocol' => PhoneCallProtocol, 'connections' => [PhoneConnection, PhoneConnection], 'start_date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
phoneCall={_='phoneCall', p2p_allowed=Bool, id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connection=PhoneConnection, alternative_connections={PhoneConnection}, start_date=int}
|
phoneCall={_='phoneCall', p2p_allowed=Bool, id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_or_b='bytes', key_fingerprint=long, protocol=PhoneCallProtocol, connections={PhoneConnection}, start_date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ Phone call accepted
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|video|[Bool](../types/Bool.md) | Optional|Video call?|
|
||||||
|id|[long](../types/long.md) | Yes|ID|
|
|id|[long](../types/long.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
@ -30,14 +31,14 @@ Phone call accepted
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol];
|
$phoneCallAccepted = ['_' => 'phoneCallAccepted', 'video' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_b' => 'bytes', 'protocol' => PhoneCallProtocol];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
phoneCallAccepted={_='phoneCallAccepted', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol}
|
phoneCallAccepted={_='phoneCallAccepted', video=Bool, id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_b='bytes', protocol=PhoneCallProtocol}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ Phone call discarded
|
|||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|need\_rating|[Bool](../types/Bool.md) | Optional|Need rating?|
|
|need\_rating|[Bool](../types/Bool.md) | Optional|Need rating?|
|
||||||
|need\_debug|[Bool](../types/Bool.md) | Optional|Need debug?|
|
|need\_debug|[Bool](../types/Bool.md) | Optional|Need debug?|
|
||||||
|
|video|[Bool](../types/Bool.md) | Optional|Video call?|
|
||||||
|id|[long](../types/long.md) | Yes|ID|
|
|id|[long](../types/long.md) | Yes|ID|
|
||||||
|reason|[PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md) | Optional|Reason|
|
|reason|[PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md) | Optional|Reason|
|
||||||
|duration|[int](../types/int.md) | Optional|Duration|
|
|duration|[int](../types/int.md) | Optional|Duration|
|
||||||
@ -28,14 +29,14 @@ Phone call discarded
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];
|
$phoneCallDiscarded = ['_' => 'phoneCallDiscarded', 'need_rating' => Bool, 'need_debug' => Bool, 'video' => Bool, 'id' => long, 'reason' => PhoneCallDiscardReason, 'duration' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, id=long, reason=PhoneCallDiscardReason, duration=int}
|
phoneCallDiscarded={_='phoneCallDiscarded', need_rating=Bool, need_debug=Bool, video=Bool, id=long, reason=PhoneCallDiscardReason, duration=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ Phone call requested
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|video|[Bool](../types/Bool.md) | Optional|Video call?|
|
||||||
|id|[long](../types/long.md) | Yes|ID|
|
|id|[long](../types/long.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
@ -30,14 +31,14 @@ Phone call requested
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$phoneCallRequested = ['_' => 'phoneCallRequested', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol];
|
$phoneCallRequested = ['_' => 'phoneCallRequested', 'video' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'g_a_hash' => 'bytes', 'protocol' => PhoneCallProtocol];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
phoneCallRequested={_='phoneCallRequested', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol}
|
phoneCallRequested={_='phoneCallRequested', video=Bool, id=long, access_hash=long, date=int, admin_id=int, participant_id=int, g_a_hash='bytes', protocol=PhoneCallProtocol}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ Phone call waiting
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|video|[Bool](../types/Bool.md) | Optional|Video call?|
|
||||||
|id|[long](../types/long.md) | Yes|ID|
|
|id|[long](../types/long.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
@ -30,14 +31,14 @@ Phone call waiting
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int];
|
$phoneCallWaiting = ['_' => 'phoneCallWaiting', 'video' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'admin_id' => int, 'participant_id' => int, 'protocol' => PhoneCallProtocol, 'receive_date' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
phoneCallWaiting={_='phoneCallWaiting', id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int}
|
phoneCallWaiting={_='phoneCallWaiting', video=Bool, id=long, access_hash=long, date=int, admin_id=int, participant_id=int, protocol=PhoneCallProtocol, receive_date=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ Photo
|
|||||||
|file\_reference|[bytes](../types/bytes.md) | Yes|File reference|
|
|file\_reference|[bytes](../types/bytes.md) | Yes|File reference|
|
||||||
|date|[int](../types/int.md) | Yes|Date|
|
|date|[int](../types/int.md) | Yes|Date|
|
||||||
|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Yes|Sizes|
|
|sizes|Array of [PhotoSize](../types/PhotoSize.md) | Yes|Sizes|
|
||||||
|
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -29,14 +30,14 @@ Photo
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes', 'date' => int, 'sizes' => [PhotoSize, PhotoSize]];
|
$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'file_reference' => 'bytes', 'date' => int, 'sizes' => [PhotoSize, PhotoSize], 'dc_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
photo={_='photo', has_stickers=Bool, id=long, access_hash=long, file_reference='bytes', date=int, sizes={PhotoSize}}
|
photo={_='photo', has_stickers=Bool, id=long, access_hash=long, file_reference='bytes', date=int, sizes={PhotoSize}, dc_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
33
docs/API_docs/constructors/privacyKeyPhoneNumber.md
Normal file
33
docs/API_docs/constructors/privacyKeyPhoneNumber.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: privacyKeyPhoneNumber
|
||||||
|
description: Phone number
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: privacyKeyPhoneNumber
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Phone number
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [PrivacyKey](../types/PrivacyKey.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$privacyKeyPhoneNumber = ['_' => 'privacyKeyPhoneNumber'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
privacyKeyPhoneNumber={_='privacyKeyPhoneNumber'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: privacyValueAllowChatParticipants
|
||||||
|
description: Allow chat participants?
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: privacyValueAllowChatParticipants
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Allow chat participants?
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|chats|Array of [int](../types/int.md) | Yes|Allowed chats|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [PrivacyRule](../types/PrivacyRule.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$privacyValueAllowChatParticipants = ['_' => 'privacyValueAllowChatParticipants', 'chats' => [int, int]];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
privacyValueAllowChatParticipants={_='privacyValueAllowChatParticipants', chats={int}}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: privacyValueDisallowChatParticipants
|
||||||
|
description: Diallowed chats
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: privacyValueDisallowChatParticipants
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Diallowed chats
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|chats|Array of [int](../types/int.md) | Yes|Disallowed chats|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [PrivacyRule](../types/PrivacyRule.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$privacyValueDisallowChatParticipants = ['_' => 'privacyValueDisallowChatParticipants', 'chats' => [int, int]];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
privacyValueDisallowChatParticipants={_='privacyValueDisallowChatParticipants', chats={int}}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -23,6 +23,7 @@ Sticker set
|
|||||||
|title|[string](../types/string.md) | Yes|Title|
|
|title|[string](../types/string.md) | Yes|Title|
|
||||||
|short\_name|[string](../types/string.md) | Yes|Short name|
|
|short\_name|[string](../types/string.md) | Yes|Short name|
|
||||||
|thumb|[PhotoSize](../types/PhotoSize.md) | Optional|Thumbnail|
|
|thumb|[PhotoSize](../types/PhotoSize.md) | Optional|Thumbnail|
|
||||||
|
|thumb\_dc\_id|[int](../types/int.md) | Optional|DC ID|
|
||||||
|count|[int](../types/int.md) | Yes|Count|
|
|count|[int](../types/int.md) | Yes|Count|
|
||||||
|hash|[int](../types/int.md) | Yes|Hash|
|
|hash|[int](../types/int.md) | Yes|Hash|
|
||||||
|
|
||||||
@ -34,14 +35,14 @@ Sticker set
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'installed_date' => int, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'thumb' => PhotoSize, 'count' => int, 'hash' => int];
|
$stickerSet = ['_' => 'stickerSet', 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'installed_date' => int, 'id' => long, 'access_hash' => long, 'title' => 'string', 'short_name' => 'string', 'thumb' => PhotoSize, 'thumb_dc_id' => int, 'count' => int, 'hash' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
stickerSet={_='stickerSet', archived=Bool, official=Bool, masks=Bool, installed_date=int, id=long, access_hash=long, title='string', short_name='string', thumb=PhotoSize, count=int, hash=int}
|
stickerSet={_='stickerSet', archived=Bool, official=Bool, masks=Bool, installed_date=int, id=long, access_hash=long, title='string', short_name='string', thumb=PhotoSize, thumb_dc_id=int, count=int, hash=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
33
docs/API_docs/constructors/topPeerCategoryForwardChats.md
Normal file
33
docs/API_docs/constructors/topPeerCategoryForwardChats.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: topPeerCategoryForwardChats
|
||||||
|
description: Top peer category: forward chats
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: topPeerCategoryForwardChats
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Top peer category: forward chats
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [TopPeerCategory](../types/TopPeerCategory.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$topPeerCategoryForwardChats = ['_' => 'topPeerCategoryForwardChats'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
topPeerCategoryForwardChats={_='topPeerCategoryForwardChats'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
33
docs/API_docs/constructors/topPeerCategoryForwardUsers.md
Normal file
33
docs/API_docs/constructors/topPeerCategoryForwardUsers.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: topPeerCategoryForwardUsers
|
||||||
|
description: Top peer category: forward users
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: topPeerCategoryForwardUsers
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Top peer category: forward users
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [TopPeerCategory](../types/TopPeerCategory.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$topPeerCategoryForwardUsers = ['_' => 'topPeerCategoryForwardUsers'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
topPeerCategoryForwardUsers={_='topPeerCategoryForwardUsers'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -15,6 +15,7 @@ Update dialog pinned
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|pinned|[Bool](../types/Bool.md) | Optional|Pinned?|
|
|pinned|[Bool](../types/Bool.md) | Optional|Pinned?|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|peer|[DialogPeer](../types/DialogPeer.md) | Yes|Peer|
|
|peer|[DialogPeer](../types/DialogPeer.md) | Yes|Peer|
|
||||||
|
|
||||||
|
|
||||||
@ -25,14 +26,14 @@ Update dialog pinned
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => DialogPeer];
|
$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'folder_id' => int, 'peer' => DialogPeer];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=DialogPeer}
|
updateDialogPinned={_='updateDialogPinned', pinned=Bool, folder_id=int, peer=DialogPeer}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
40
docs/API_docs/constructors/updateFolderPeers.md
Normal file
40
docs/API_docs/constructors/updateFolderPeers.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: updateFolderPeers
|
||||||
|
description: Folder update
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: updateFolderPeers
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Folder update
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|folder\_peers|Array of [FolderPeer](../types/FolderPeer.md) | Yes|New folder peers|
|
||||||
|
|pts|[int](../types/int.md) | Yes|PTS|
|
||||||
|
|pts\_count|[int](../types/int.md) | Yes|PTS|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Update](../types/Update.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$updateFolderPeers = ['_' => 'updateFolderPeers', 'folder_peers' => [FolderPeer, FolderPeer], 'pts' => int, 'pts_count' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
updateFolderPeers={_='updateFolderPeers', folder_peers={FolderPeer}, pts=int, pts_count=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -14,6 +14,7 @@ Update pinned dialogs
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|order|Array of [DialogPeer](../types/DialogPeer.md) | Optional|Order|
|
|order|Array of [DialogPeer](../types/DialogPeer.md) | Optional|Order|
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +25,14 @@ Update pinned dialogs
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'order' => [DialogPeer, DialogPeer]];
|
$updatePinnedDialogs = ['_' => 'updatePinnedDialogs', 'folder_id' => int, 'order' => [DialogPeer, DialogPeer]];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
updatePinnedDialogs={_='updatePinnedDialogs', order={DialogPeer}}
|
updatePinnedDialogs={_='updatePinnedDialogs', folder_id=int, order={DialogPeer}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,8 +14,11 @@ Update read channel inbox
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|channel\_id|[int](../types/int.md) | Yes|Channel ID|
|
|channel\_id|[int](../types/int.md) | Yes|Channel ID|
|
||||||
|max\_id|[int](../types/int.md) | Yes|Max ID|
|
|max\_id|[int](../types/int.md) | Yes|Max ID|
|
||||||
|
|still\_unread\_count|[int](../types/int.md) | Yes|Still unread count|
|
||||||
|
|pts|[int](../types/int.md) | Yes|PTS|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -25,14 +28,14 @@ Update read channel inbox
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'channel_id' => int, 'max_id' => int];
|
$updateReadChannelInbox = ['_' => 'updateReadChannelInbox', 'folder_id' => int, 'channel_id' => int, 'max_id' => int, 'still_unread_count' => int, 'pts' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
updateReadChannelInbox={_='updateReadChannelInbox', channel_id=int, max_id=int}
|
updateReadChannelInbox={_='updateReadChannelInbox', folder_id=int, channel_id=int, max_id=int, still_unread_count=int, pts=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -14,8 +14,10 @@ Update read history inbox
|
|||||||
|
|
||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|peer|[Peer](../types/Peer.md) | Yes|Peer|
|
|peer|[Peer](../types/Peer.md) | Yes|Peer|
|
||||||
|max\_id|[int](../types/int.md) | Yes|Max ID|
|
|max\_id|[int](../types/int.md) | Yes|Max ID|
|
||||||
|
|still\_unread\_count|[int](../types/int.md) | Yes|Still unread count|
|
||||||
|pts|[int](../types/int.md) | Yes|Pts|
|
|pts|[int](../types/int.md) | Yes|Pts|
|
||||||
|pts\_count|[int](../types/int.md) | Yes|Pts count|
|
|pts\_count|[int](../types/int.md) | Yes|Pts count|
|
||||||
|
|
||||||
@ -27,14 +29,14 @@ Update read history inbox
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'peer' => Peer, 'max_id' => int, 'pts' => int, 'pts_count' => int];
|
$updateReadHistoryInbox = ['_' => 'updateReadHistoryInbox', 'folder_id' => int, 'peer' => Peer, 'max_id' => int, 'still_unread_count' => int, 'pts' => int, 'pts_count' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
updateReadHistoryInbox={_='updateReadHistoryInbox', peer=Peer, max_id=int, pts=int, pts_count=int}
|
updateReadHistoryInbox={_='updateReadHistoryInbox', folder_id=int, peer=Peer, max_id=int, still_unread_count=int, pts=int, pts_count=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -15,13 +15,8 @@ Channel difference too long
|
|||||||
| Name | Type | Required | Description |
|
| Name | Type | Required | Description |
|
||||||
|----------|---------------|----------|-------------|
|
|----------|---------------|----------|-------------|
|
||||||
|final|[Bool](../types/Bool.md) | Optional|Final?|
|
|final|[Bool](../types/Bool.md) | Optional|Final?|
|
||||||
|pts|[int](../types/int.md) | Yes|Pts|
|
|
||||||
|timeout|[int](../types/int.md) | Optional|Timeout|
|
|timeout|[int](../types/int.md) | Optional|Timeout|
|
||||||
|top\_message|[int](../types/int.md) | Yes|Top message|
|
|dialog|[Dialog](../types/Dialog.md) | Yes|Dialog|
|
||||||
|read\_inbox\_max\_id|[int](../types/int.md) | Yes|Read inbox max ID|
|
|
||||||
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|Read outbox max ID|
|
|
||||||
|unread\_count|[int](../types/int.md) | Yes|Unread count|
|
|
||||||
|unread\_mentions\_count|[int](../types/int.md) | Yes|Unread mentions count|
|
|
||||||
|messages|Array of [Message](../types/Message.md) | Yes|Messages|
|
|messages|Array of [Message](../types/Message.md) | Yes|Messages|
|
||||||
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
||||||
|users|Array of [User](../types/User.md) | Yes|Users|
|
|users|Array of [User](../types/User.md) | Yes|Users|
|
||||||
@ -34,14 +29,14 @@ Channel difference too long
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'unread_mentions_count' => int, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'timeout' => int, 'dialog' => Dialog, 'messages' => [Message, Message], 'chats' => [Chat, Chat], 'users' => [User, User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, unread_mentions_count=int, messages={Message}, chats={Chat}, users={User}}
|
updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, timeout=int, dialog=Dialog, messages={Message}, chats={Chat}, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
38
docs/API_docs/constructors/urlAuthResultAccepted.md
Normal file
38
docs/API_docs/constructors/urlAuthResultAccepted.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
title: urlAuthResultAccepted
|
||||||
|
description: URL authorization accepted
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: urlAuthResultAccepted
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
URL authorization accepted
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|url|[string](../types/string.md) | Yes|URL|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$urlAuthResultAccepted = ['_' => 'urlAuthResultAccepted', 'url' => 'string'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
urlAuthResultAccepted={_='urlAuthResultAccepted', url='string'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
33
docs/API_docs/constructors/urlAuthResultDefault.md
Normal file
33
docs/API_docs/constructors/urlAuthResultDefault.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: urlAuthResultDefault
|
||||||
|
description: Default result
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: urlAuthResultDefault
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default result
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$urlAuthResultDefault = ['_' => 'urlAuthResultDefault'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
urlAuthResultDefault={_='urlAuthResultDefault'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
40
docs/API_docs/constructors/urlAuthResultRequest.md
Normal file
40
docs/API_docs/constructors/urlAuthResultRequest.md
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
title: urlAuthResultRequest
|
||||||
|
description: Request
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Constructor: urlAuthResultRequest
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Request
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required | Description |
|
||||||
|
|----------|---------------|----------|-------------|
|
||||||
|
|request\_write\_access|[Bool](../types/Bool.md) | Optional|Request write access?|
|
||||||
|
|bot|[User](../types/User.md) | Optional|Bot|
|
||||||
|
|domain|[string](../types/string.md) | Yes|Doamin|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```php
|
||||||
|
$urlAuthResultRequest = ['_' => 'urlAuthResultRequest', 'request_write_access' => Bool, 'bot' => User, 'domain' => 'string'];
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
urlAuthResultRequest={_='urlAuthResultRequest', request_write_access=Bool, bot=User, domain='string'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -26,6 +26,7 @@ User
|
|||||||
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
|min|[Bool](../types/Bool.md) | Optional|Min?|
|
||||||
|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional|Bot inline geo?|
|
|bot\_inline\_geo|[Bool](../types/Bool.md) | Optional|Bot inline geo?|
|
||||||
|support|[Bool](../types/Bool.md) | Optional|Is this a support user?|
|
|support|[Bool](../types/Bool.md) | Optional|Is this a support user?|
|
||||||
|
|scam|[Bool](../types/Bool.md) | Optional|Scam?|
|
||||||
|id|[int](../types/int.md) | Yes|ID|
|
|id|[int](../types/int.md) | Yes|ID|
|
||||||
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|
||||||
|first\_name|[string](../types/string.md) | Optional|First name|
|
|first\_name|[string](../types/string.md) | Optional|First name|
|
||||||
@ -47,14 +48,14 @@ User
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'support' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string'];
|
$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'min' => Bool, 'bot_inline_geo' => Bool, 'support' => Bool, 'scam' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => 'string', 'last_name' => 'string', 'username' => 'string', 'phone' => 'string', 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => 'string', 'bot_inline_placeholder' => 'string', 'lang_code' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, support=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'}
|
user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, min=Bool, bot_inline_geo=Bool, support=Bool, scam=Bool, id=int, access_hash=long, first_name='string', last_name='string', username='string', phone='string', photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason='string', bot_inline_placeholder='string', lang_code='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ User full
|
|||||||
|bot\_info|[BotInfo](../types/BotInfo.md) | Optional|Bot info|
|
|bot\_info|[BotInfo](../types/BotInfo.md) | Optional|Bot info|
|
||||||
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
|pinned\_msg\_id|[int](../types/int.md) | Optional|Pinned msg ID|
|
||||||
|common\_chats\_count|[int](../types/int.md) | Yes|Common chats count|
|
|common\_chats\_count|[int](../types/int.md) | Yes|Common chats count|
|
||||||
|
|folder\_id|[int](../types/int.md) | Optional|Folder ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -35,14 +36,14 @@ User full
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int];
|
$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int, 'folder_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int}
|
userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int, folder_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ User profile photo
|
|||||||
|photo\_id|[long](../types/long.md) | Yes|Photo ID|
|
|photo\_id|[long](../types/long.md) | Yes|Photo ID|
|
||||||
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|Photo small|
|
|photo\_small|[FileLocation](../types/FileLocation.md) | Yes|Photo small|
|
||||||
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|Photo big|
|
|photo\_big|[FileLocation](../types/FileLocation.md) | Yes|Photo big|
|
||||||
|
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -26,14 +27,14 @@ User profile photo
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation];
|
$userProfilePhoto = ['_' => 'userProfilePhoto', 'photo_id' => long, 'photo_small' => FileLocation, 'photo_big' => FileLocation, 'dc_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation}
|
userProfilePhoto={_='userProfilePhoto', photo_id=long, photo_small=FileLocation, photo_big=FileLocation, dc_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
title: MadelineProto API documentation (layer 97)
|
title: MadelineProto API documentation (layer 100)
|
||||||
description: MadelineProto API documentation (layer 97)
|
description: MadelineProto API documentation (layer 100)
|
||||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
---
|
---
|
||||||
# MadelineProto API documentation (layer 97)
|
# MadelineProto API documentation (layer 100)
|
||||||
|
|
||||||
[Back to main documentation](..)
|
[Back to main documentation](..)
|
||||||
|
|
||||||
|
@ -212,10 +212,14 @@ $MadelineProto->[channels->getAdminLog](channels_getAdminLog.md)(\['channel' =>
|
|||||||
|
|
||||||
$MadelineProto->[channels->getAdminedPublicChannels](channels_getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getAdminedPublicChannels"></a>
|
$MadelineProto->[channels->getAdminedPublicChannels](channels_getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getAdminedPublicChannels"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[channels->getBroadcastsForDiscussion](channels_getBroadcastsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getBroadcastsForDiscussion"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getChannels"></a>
|
$MadelineProto->[channels->getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getChannels"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="channels_getFullChannel"></a>
|
$MadelineProto->[channels->getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$messages\_ChatFull](../types/messages_ChatFull.md)<a name="channels_getFullChannel"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[channels->getGroupsForDiscussion](channels_getGroupsForDiscussion.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getGroupsForDiscussion"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getLeftChannels](channels_getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getLeftChannels"></a>
|
$MadelineProto->[channels->getLeftChannels](channels_getLeftChannels.md)(\['offset' => [int](../types/int.md), \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getLeftChannels"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="channels_getMessages"></a>
|
$MadelineProto->[channels->getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[InputMessage](../types/InputMessage.md)\], \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="channels_getMessages"></a>
|
||||||
@ -236,6 +240,8 @@ $MadelineProto->[channels->readMessageContents](channels_readMessageContents.md)
|
|||||||
|
|
||||||
$MadelineProto->[channels->reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) === [$Bool](../types/Bool.md)<a name="channels_reportSpam"></a>
|
$MadelineProto->[channels->reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) === [$Bool](../types/Bool.md)<a name="channels_reportSpam"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[channels->setDiscussionGroup](channels_setDiscussionGroup.md)(\['broadcast' => [InputChannel](../types/InputChannel.md), 'group' => [InputChannel](../types/InputChannel.md), \]) === [$Bool](../types/Bool.md)<a name="channels_setDiscussionGroup"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->setStickers](channels_setStickers.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="channels_setStickers"></a>
|
$MadelineProto->[channels->setStickers](channels_setStickers.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="channels_setStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->togglePreHistoryHidden](channels_togglePreHistoryHidden.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_togglePreHistoryHidden"></a>
|
$MadelineProto->[channels->togglePreHistoryHidden](channels_togglePreHistoryHidden.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_togglePreHistoryHidden"></a>
|
||||||
@ -264,7 +270,7 @@ $MadelineProto->[contacts->getSaved](contacts_getSaved.md)(\[\]) === [$Vector\_o
|
|||||||
|
|
||||||
$MadelineProto->[contacts->getStatuses](contacts_getStatuses.md)(\[\]) === [$Vector\_of\_ContactStatus](../types/ContactStatus.md)<a name="contacts_getStatuses"></a>
|
$MadelineProto->[contacts->getStatuses](contacts_getStatuses.md)(\[\]) === [$Vector\_of\_ContactStatus](../types/ContactStatus.md)<a name="contacts_getStatuses"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
|
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'forward_users' => [Bool](../types/Bool.md), 'forward_chats' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
|
||||||
|
|
||||||
$MadelineProto->[contacts->importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)<a name="contacts_importContacts"></a>
|
$MadelineProto->[contacts->importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], \]) === [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)<a name="contacts_importContacts"></a>
|
||||||
|
|
||||||
@ -280,6 +286,12 @@ $MadelineProto->[contacts->toggleTopPeers](contacts_toggleTopPeers.md)(\['enable
|
|||||||
|
|
||||||
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) === [$Bool](../types/Bool.md)<a name="contacts_unblock"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>
|
||||||
|
$MadelineProto->[folders->deleteFolder](folders_deleteFolder.md)(\['folder_id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="folders_deleteFolder"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[folders->editPeerFolders](folders_editPeerFolders.md)(\['folder_peers' => \[[InputFolderPeer](../types/InputFolderPeer.md)\], \]) === [$Updates](../types/Updates.md)<a name="folders_editPeerFolders"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>
|
<br><br>
|
||||||
$MadelineProto->[help->acceptTermsOfService](help_acceptTermsOfService.md)(\['id' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="help_acceptTermsOfService"></a>
|
$MadelineProto->[help->acceptTermsOfService](help_acceptTermsOfService.md)(\['id' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="help_acceptTermsOfService"></a>
|
||||||
@ -364,6 +376,8 @@ $MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_pack' =>
|
|||||||
<br><br>
|
<br><br>
|
||||||
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[messages->acceptUrlAuth](messages_acceptUrlAuth.md)(\['write_allowed' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'button_id' => [int](../types/int.md), \]) === [$UrlAuthResult](../types/UrlAuthResult.md)<a name="messages_acceptUrlAuth"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_addChatUser"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) === [$ChatInvite](../types/ChatInvite.md)<a name="messages_checkChatInvite"></a>
|
$MadelineProto->[messages->checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) === [$ChatInvite](../types/ChatInvite.md)<a name="messages_checkChatInvite"></a>
|
||||||
@ -422,7 +436,7 @@ $MadelineProto->[messages->getDhConfig](messages_getDhConfig.md)(\['version' =>
|
|||||||
|
|
||||||
$MadelineProto->[messages->getDialogUnreadMarks](messages_getDialogUnreadMarks.md)(\[\]) === [$Vector\_of\_DialogPeer](../types/DialogPeer.md)<a name="messages_getDialogUnreadMarks"></a>
|
$MadelineProto->[messages->getDialogUnreadMarks](messages_getDialogUnreadMarks.md)(\[\]) === [$Vector\_of\_DialogPeer](../types/DialogPeer.md)<a name="messages_getDialogUnreadMarks"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getDialogs](messages_getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md)<a name="messages_getDialogs"></a>
|
$MadelineProto->[messages->getDialogs](messages_getDialogs.md)(\['exclude_pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$messages\_Dialogs](../types/messages_Dialogs.md)<a name="messages_getDialogs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) === [$Document](../types/Document.md)<a name="messages_getDocumentByHash"></a>
|
$MadelineProto->[messages->getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) === [$Document](../types/Document.md)<a name="messages_getDocumentByHash"></a>
|
||||||
|
|
||||||
@ -430,6 +444,8 @@ $MadelineProto->[messages->getEmojiKeywords](messages_getEmojiKeywords.md)(\['la
|
|||||||
|
|
||||||
$MadelineProto->[messages->getEmojiKeywordsDifference](messages_getEmojiKeywordsDifference.md)(\['lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), \]) === [$EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)<a name="messages_getEmojiKeywordsDifference"></a>
|
$MadelineProto->[messages->getEmojiKeywordsDifference](messages_getEmojiKeywordsDifference.md)(\['lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), \]) === [$EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)<a name="messages_getEmojiKeywordsDifference"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[messages->getEmojiKeywordsLanguages](messages_getEmojiKeywordsLanguages.md)(\['lang_codes' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_EmojiLanguage](../types/EmojiLanguage.md)<a name="messages_getEmojiKeywordsLanguages"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getEmojiURL](messages_getEmojiURL.md)(\['lang_code' => [string](../types/string.md), \]) === [$EmojiURL](../types/EmojiURL.md)<a name="messages_getEmojiURL"></a>
|
$MadelineProto->[messages->getEmojiURL](messages_getEmojiURL.md)(\['lang_code' => [string](../types/string.md), \]) === [$EmojiURL](../types/EmojiURL.md)<a name="messages_getEmojiURL"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getFavedStickers](messages_getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md)<a name="messages_getFavedStickers"></a>
|
$MadelineProto->[messages->getFavedStickers](messages_getFavedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FavedStickers](../types/messages_FavedStickers.md)<a name="messages_getFavedStickers"></a>
|
||||||
@ -460,7 +476,7 @@ $MadelineProto->[messages->getPeerDialogs](messages_getPeerDialogs.md)(\['peers'
|
|||||||
|
|
||||||
$MadelineProto->[messages->getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$PeerSettings](../types/PeerSettings.md)<a name="messages_getPeerSettings"></a>
|
$MadelineProto->[messages->getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$PeerSettings](../types/PeerSettings.md)<a name="messages_getPeerSettings"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getPinnedDialogs](messages_getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPinnedDialogs"></a>
|
$MadelineProto->[messages->getPinnedDialogs](messages_getPinnedDialogs.md)(\['folder_id' => [int](../types/int.md), \]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPinnedDialogs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getPollResults](messages_getPollResults.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_getPollResults"></a>
|
$MadelineProto->[messages->getPollResults](messages_getPollResults.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="messages_getPollResults"></a>
|
||||||
|
|
||||||
@ -470,6 +486,8 @@ $MadelineProto->[messages->getRecentStickers](messages_getRecentStickers.md)(\['
|
|||||||
|
|
||||||
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[messages->getSearchCounters](messages_getSearchCounters.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'filters' => \[[MessagesFilter](../types/MessagesFilter.md)\], \]) === [$Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md)<a name="messages_getSearchCounters"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getSplitRanges](messages_getSplitRanges.md)(\[\]) === [$Vector\_of\_MessageRange](../types/MessageRange.md)<a name="messages_getSplitRanges"></a>
|
$MadelineProto->[messages->getSplitRanges](messages_getSplitRanges.md)(\[\]) === [$Vector\_of\_MessageRange](../types/MessageRange.md)<a name="messages_getSplitRanges"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getStatsURL](messages_getStatsURL.md)(\['dark' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'params' => [string](../types/string.md), \]) === [$StatsURL](../types/StatsURL.md)<a name="messages_getStatsURL"></a>
|
$MadelineProto->[messages->getStatsURL](messages_getStatsURL.md)(\['dark' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'params' => [string](../types/string.md), \]) === [$StatsURL](../types/StatsURL.md)<a name="messages_getStatsURL"></a>
|
||||||
@ -508,7 +526,7 @@ $MadelineProto->[messages->receivedMessages](messages_receivedMessages.md)(\['ma
|
|||||||
|
|
||||||
$MadelineProto->[messages->receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) === [$Vector\_of\_long](../types/long.md)<a name="messages_receivedQueue"></a>
|
$MadelineProto->[messages->receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) === [$Vector\_of\_long](../types/long.md)<a name="messages_receivedQueue"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->reorderPinnedDialogs](messages_reorderPinnedDialogs.md)(\['force' => [Bool](../types/Bool.md), 'order' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderPinnedDialogs"></a>
|
$MadelineProto->[messages->reorderPinnedDialogs](messages_reorderPinnedDialogs.md)(\['force' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'order' => \[[InputDialogPeer](../types/InputDialogPeer.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderPinnedDialogs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->reorderStickerSets](messages_reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderStickerSets"></a>
|
$MadelineProto->[messages->reorderStickerSets](messages_reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_reorderStickerSets"></a>
|
||||||
|
|
||||||
@ -520,6 +538,8 @@ $MadelineProto->[messages->reportSpam](messages_reportSpam.md)(\['peer' => [Inpu
|
|||||||
|
|
||||||
$MadelineProto->[messages->requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_requestEncryption"></a>
|
$MadelineProto->[messages->requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a' => [bytes](../types/bytes.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_requestEncryption"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[messages->requestUrlAuth](messages_requestUrlAuth.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'button_id' => [int](../types/int.md), \]) === [$UrlAuthResult](../types/UrlAuthResult.md)<a name="messages_requestUrlAuth"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->saveDraft](messages_saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_saveDraft"></a>
|
$MadelineProto->[messages->saveDraft](messages_saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_saveDraft"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="messages_saveGif"></a>
|
$MadelineProto->[messages->saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="messages_saveGif"></a>
|
||||||
@ -530,7 +550,7 @@ $MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](.
|
|||||||
|
|
||||||
$MadelineProto->[messages->searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md)<a name="messages_searchGifs"></a>
|
$MadelineProto->[messages->searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md)<a name="messages_searchGifs"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_searchGlobal"></a>
|
$MadelineProto->[messages->searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_rate' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_searchGlobal"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->searchStickerSets](messages_searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md)<a name="messages_searchStickerSets"></a>
|
$MadelineProto->[messages->searchStickerSets](messages_searchStickerSets.md)(\['exclude_featured' => [Bool](../types/Bool.md), 'q' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages\_FoundStickerSets](../types/messages_FoundStickerSets.md)<a name="messages_searchStickerSets"></a>
|
||||||
|
|
||||||
@ -600,13 +620,13 @@ $MadelineProto->[phone->acceptCall](phone_acceptCall.md)(\['peer' => [InputPhone
|
|||||||
|
|
||||||
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
$MadelineProto->[phone->confirmCall](phone_confirmCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'g_a' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_confirmCall"></a>
|
||||||
|
|
||||||
$MadelineProto->[phone->discardCall](phone_discardCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'duration' => [int](../types/int.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'connection_id' => [long](../types/long.md), \]) === [$Updates](../types/Updates.md)<a name="phone_discardCall"></a>
|
$MadelineProto->[phone->discardCall](phone_discardCall.md)(\['video' => [Bool](../types/Bool.md), 'peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'duration' => [int](../types/int.md), 'reason' => [PhoneCallDiscardReason](../types/PhoneCallDiscardReason.md), 'connection_id' => [long](../types/long.md), \]) === [$Updates](../types/Updates.md)<a name="phone_discardCall"></a>
|
||||||
|
|
||||||
$MadelineProto->[phone->getCallConfig](phone_getCallConfig.md)(\[\]) === [$DataJSON](../types/DataJSON.md)<a name="phone_getCallConfig"></a>
|
$MadelineProto->[phone->getCallConfig](phone_getCallConfig.md)(\[\]) === [$DataJSON](../types/DataJSON.md)<a name="phone_getCallConfig"></a>
|
||||||
|
|
||||||
$MadelineProto->[phone->receivedCall](phone_receivedCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), \]) === [$Bool](../types/Bool.md)<a name="phone_receivedCall"></a>
|
$MadelineProto->[phone->receivedCall](phone_receivedCall.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), \]) === [$Bool](../types/Bool.md)<a name="phone_receivedCall"></a>
|
||||||
|
|
||||||
$MadelineProto->[phone->requestCall](phone_requestCall.md)(\['user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_requestCall"></a>
|
$MadelineProto->[phone->requestCall](phone_requestCall.md)(\['video' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \]) === [$phone\_PhoneCall](../types/phone_PhoneCall.md)<a name="phone_requestCall"></a>
|
||||||
|
|
||||||
$MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'debug' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="phone_saveCallDebug"></a>
|
$MadelineProto->[phone->saveCallDebug](phone_saveCallDebug.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'debug' => [DataJSON](../types/DataJSON.md), \]) === [$Bool](../types/Bool.md)<a name="phone_saveCallDebug"></a>
|
||||||
|
|
||||||
|
39
docs/API_docs/methods/channels_getBroadcastsForDiscussion.md
Normal file
39
docs/API_docs/methods/channels_getBroadcastsForDiscussion.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: channels.getBroadcastsForDiscussion
|
||||||
|
description: Get channels for discussion
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: channels.getBroadcastsForDiscussion
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Get channels for discussion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$messages_Chats = $MadelineProto->channels->getBroadcastsForDiscussion();
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
messages_Chats = channels.getBroadcastsForDiscussion({})
|
||||||
|
```
|
||||||
|
|
39
docs/API_docs/methods/channels_getGroupsForDiscussion.md
Normal file
39
docs/API_docs/methods/channels_getGroupsForDiscussion.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
---
|
||||||
|
title: channels.getGroupsForDiscussion
|
||||||
|
description: Get groups for discussion
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: channels.getGroupsForDiscussion
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Get groups for discussion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [messages\_Chats](../types/messages_Chats.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$messages_Chats = $MadelineProto->channels->getGroupsForDiscussion();
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
messages_Chats = channels.getGroupsForDiscussion({})
|
||||||
|
```
|
||||||
|
|
45
docs/API_docs/methods/channels_setDiscussionGroup.md
Normal file
45
docs/API_docs/methods/channels_setDiscussionGroup.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
title: channels.setDiscussionGroup
|
||||||
|
description: Set discussion group of channel
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: channels.setDiscussionGroup
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Set discussion group of channel
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|broadcast|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel | Optional|
|
||||||
|
|group|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The group | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$Bool = $MadelineProto->channels->setDiscussionGroup(['broadcast' => InputChannel, 'group' => InputChannel, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
Bool = channels.setDiscussionGroup({broadcast=InputChannel, group=InputChannel, })
|
||||||
|
```
|
||||||
|
|
@ -17,6 +17,8 @@ Get most used chats
|
|||||||
|bots\_pm|[Bool](../types/Bool.md) | Fetch bots? | Optional|
|
|bots\_pm|[Bool](../types/Bool.md) | Fetch bots? | Optional|
|
||||||
|bots\_inline|[Bool](../types/Bool.md) | Fetch inline bots? | Optional|
|
|bots\_inline|[Bool](../types/Bool.md) | Fetch inline bots? | Optional|
|
||||||
|phone\_calls|[Bool](../types/Bool.md) | Fetch phone calls? | Optional|
|
|phone\_calls|[Bool](../types/Bool.md) | Fetch phone calls? | Optional|
|
||||||
|
|forward\_users|[Bool](../types/Bool.md) | Forward users? | Optional|
|
||||||
|
|forward\_chats|[Bool](../types/Bool.md) | Forward chats? | Optional|
|
||||||
|groups|[Bool](../types/Bool.md) | Fetch groups? | Optional|
|
|groups|[Bool](../types/Bool.md) | Fetch groups? | Optional|
|
||||||
|channels|[Bool](../types/Bool.md) | Fetch channels and supergroups? | Optional|
|
|channels|[Bool](../types/Bool.md) | Fetch channels and supergroups? | Optional|
|
||||||
|offset|[int](../types/int.md) | Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];` | Yes|
|
|offset|[int](../types/int.md) | Initially 0, then `$offset += $contacts_TopPeers['categories']['count'];` | Yes|
|
||||||
@ -41,13 +43,13 @@ include 'madeline.php';
|
|||||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
$MadelineProto->start();
|
$MadelineProto->start();
|
||||||
|
|
||||||
$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]);
|
$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'forward_users' => Bool, 'forward_chats' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => [int, int], ]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, })
|
contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, forward_users=Bool, forward_chats=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash={int}, })
|
||||||
```
|
```
|
||||||
|
|
||||||
### Errors this method can return:
|
### Errors this method can return:
|
||||||
|
44
docs/API_docs/methods/folders_deleteFolder.md
Normal file
44
docs/API_docs/methods/folders_deleteFolder.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: folders.deleteFolder
|
||||||
|
description: Delete folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: folders.deleteFolder
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Delete folder
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Folder ID | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$Updates = $MadelineProto->folders->deleteFolder(['folder_id' => int, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
Updates = folders.deleteFolder({folder_id=int, })
|
||||||
|
```
|
||||||
|
|
44
docs/API_docs/methods/folders_editPeerFolders.md
Normal file
44
docs/API_docs/methods/folders_editPeerFolders.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: folders.editPeerFolders
|
||||||
|
description: Edit folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: folders.editPeerFolders
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Edit folder
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|folder\_peers|Array of [InputFolderPeer](../types/InputFolderPeer.md) | New folder peers | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$Updates = $MadelineProto->folders->editPeerFolders(['folder_peers' => [InputFolderPeer, InputFolderPeer], ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
Updates = folders.editPeerFolders({folder_peers={InputFolderPeer}, })
|
||||||
|
```
|
||||||
|
|
@ -30,6 +30,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||||
|
|
||||||
|
* <a href="messages_acceptUrlAuth.html" name="messages_acceptUrlAuth">Accept URL authorization: messages.acceptUrlAuth</a>
|
||||||
|
|
||||||
* <a href="account_acceptAuthorization.html" name="account_acceptAuthorization">Accept telegram passport authorization: account.acceptAuthorization</a>
|
* <a href="account_acceptAuthorization.html" name="account_acceptAuthorization">Accept telegram passport authorization: account.acceptAuthorization</a>
|
||||||
|
|
||||||
* <a href="help_acceptTermsOfService.html" name="help_acceptTermsOfService">Accept telegram's TOS: help.acceptTermsOfService</a>
|
* <a href="help_acceptTermsOfService.html" name="help_acceptTermsOfService">Accept telegram's TOS: help.acceptTermsOfService</a>
|
||||||
@ -128,6 +130,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="contacts_deleteByPhones.html" name="contacts_deleteByPhones">Delete contacts by phones: contacts.deleteByPhones</a>
|
* <a href="contacts_deleteByPhones.html" name="contacts_deleteByPhones">Delete contacts by phones: contacts.deleteByPhones</a>
|
||||||
|
|
||||||
|
* <a href="folders_deleteFolder.html" name="folders_deleteFolder">Delete folder: folders.deleteFolder</a>
|
||||||
|
|
||||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages: messages.deleteMessages</a>
|
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages: messages.deleteMessages</a>
|
||||||
|
|
||||||
* <a href="contacts_deleteContacts.html" name="contacts_deleteContacts">Delete multiple contacts: contacts.deleteContacts</a>
|
* <a href="contacts_deleteContacts.html" name="contacts_deleteContacts">Delete multiple contacts: contacts.deleteContacts</a>
|
||||||
@ -156,6 +160,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="messages_editChatDefaultBannedRights.html" name="messages_editChatDefaultBannedRights">Edit default rights of chat: messages.editChatDefaultBannedRights</a>
|
* <a href="messages_editChatDefaultBannedRights.html" name="messages_editChatDefaultBannedRights">Edit default rights of chat: messages.editChatDefaultBannedRights</a>
|
||||||
|
|
||||||
|
* <a href="folders_editPeerFolders.html" name="folders_editPeerFolders">Edit folder: folders.editPeerFolders</a>
|
||||||
|
|
||||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup): messages.editChatPhoto</a>
|
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup): messages.editChatPhoto</a>
|
||||||
|
|
||||||
* <a href="channels_editPhoto.html" name="channels_editPhoto">Edit the photo of a supergroup/channel: channels.editPhoto</a>
|
* <a href="channels_editPhoto.html" name="channels_editPhoto">Edit the photo of a supergroup/channel: channels.editPhoto</a>
|
||||||
@ -218,6 +224,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="channels_getParticipants.html" name="channels_getParticipants">Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants</a>
|
* <a href="channels_getParticipants.html" name="channels_getParticipants">Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants</a>
|
||||||
|
|
||||||
|
* <a href="channels_getBroadcastsForDiscussion.html" name="channels_getBroadcastsForDiscussion">Get channels for discussion: channels.getBroadcastsForDiscussion</a>
|
||||||
|
|
||||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user: messages.getCommonChats</a>
|
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user: messages.getCommonChats</a>
|
||||||
|
|
||||||
* <a href="contacts_getContactIDs.html" name="contacts_getContactIDs">Get contacts by IDs: contacts.getContactIDs</a>
|
* <a href="contacts_getContactIDs.html" name="contacts_getContactIDs">Get contacts by IDs: contacts.getContactIDs</a>
|
||||||
@ -234,12 +242,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="messages_getEmojiKeywordsDifference.html" name="messages_getEmojiKeywordsDifference">Get emoji keyword difference: messages.getEmojiKeywordsDifference</a>
|
* <a href="messages_getEmojiKeywordsDifference.html" name="messages_getEmojiKeywordsDifference">Get emoji keyword difference: messages.getEmojiKeywordsDifference</a>
|
||||||
|
|
||||||
|
* <a href="messages_getEmojiKeywordsLanguages.html" name="messages_getEmojiKeywordsLanguages">Get emoji keyword languages: messages.getEmojiKeywordsLanguages</a>
|
||||||
|
|
||||||
* <a href="messages_getEmojiKeywords.html" name="messages_getEmojiKeywords">Get emoji keywords: messages.getEmojiKeywords</a>
|
* <a href="messages_getEmojiKeywords.html" name="messages_getEmojiKeywords">Get emoji keywords: messages.getEmojiKeywords</a>
|
||||||
|
|
||||||
* <a href="messages_getFavedStickers.html" name="messages_getFavedStickers">Get favorite stickers: messages.getFavedStickers</a>
|
* <a href="messages_getFavedStickers.html" name="messages_getFavedStickers">Get favorite stickers: messages.getFavedStickers</a>
|
||||||
|
|
||||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a>
|
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a>
|
||||||
|
|
||||||
|
* <a href="channels_getGroupsForDiscussion.html" name="channels_getGroupsForDiscussion">Get groups for discussion: channels.getGroupsForDiscussion</a>
|
||||||
|
|
||||||
* <a href="messages_getInlineGameHighScores.html" name="messages_getInlineGameHighScores">Get high scores of a game sent in an inline message: messages.getInlineGameHighScores</a>
|
* <a href="messages_getInlineGameHighScores.html" name="messages_getInlineGameHighScores">Get high scores of a game sent in an inline message: messages.getInlineGameHighScores</a>
|
||||||
|
|
||||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game: messages.getGameHighScores</a>
|
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game: messages.getGameHighScores</a>
|
||||||
@ -312,6 +324,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="payments_getSavedInfo.html" name="payments_getSavedInfo">Get saved payments info: payments.getSavedInfo</a>
|
* <a href="payments_getSavedInfo.html" name="payments_getSavedInfo">Get saved payments info: payments.getSavedInfo</a>
|
||||||
|
|
||||||
|
* <a href="messages_getSearchCounters.html" name="messages_getSearchCounters">Get search counter: messages.getSearchCounters</a>
|
||||||
|
|
||||||
* <a href="account_getSecureValue.html" name="account_getSecureValue">Get secure value for telegram passport: account.getSecureValue</a>
|
* <a href="account_getSecureValue.html" name="account_getSecureValue">Get secure value for telegram passport: account.getSecureValue</a>
|
||||||
|
|
||||||
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration: help.getConfig</a>
|
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration: help.getConfig</a>
|
||||||
@ -426,6 +440,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="account_reportPeer.html" name="account_reportPeer">Report for spam: account.reportPeer</a>
|
* <a href="account_reportPeer.html" name="account_reportPeer">Report for spam: account.reportPeer</a>
|
||||||
|
|
||||||
|
* <a href="messages_requestUrlAuth.html" name="messages_requestUrlAuth">Request URL authorization: messages.requestUrlAuth</a>
|
||||||
|
|
||||||
* <a href="account_resendPasswordEmail.html" name="account_resendPasswordEmail">Resend password recovery email: account.resendPasswordEmail</a>
|
* <a href="account_resendPasswordEmail.html" name="account_resendPasswordEmail">Resend password recovery email: account.resendPasswordEmail</a>
|
||||||
|
|
||||||
* <a href="auth_resendCode.html" name="auth_resendCode">Resend the SMS verification code: auth.resendCode</a>
|
* <a href="auth_resendCode.html" name="auth_resendCode">Resend the SMS verification code: auth.resendCode</a>
|
||||||
@ -498,6 +514,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
* <a href="account_setContactSignUpNotification.html" name="account_setContactSignUpNotification">Set contact sign up notification: account.setContactSignUpNotification</a>
|
* <a href="account_setContactSignUpNotification.html" name="account_setContactSignUpNotification">Set contact sign up notification: account.setContactSignUpNotification</a>
|
||||||
|
|
||||||
|
* <a href="channels_setDiscussionGroup.html" name="channels_setDiscussionGroup">Set discussion group of channel: channels.setDiscussionGroup</a>
|
||||||
|
|
||||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating: phone.setCallRating</a>
|
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating: phone.setCallRating</a>
|
||||||
|
|
||||||
* <a href="account_setPrivacy.html" name="account_setPrivacy">Set privacy settings: account.setPrivacy</a>
|
* <a href="account_setPrivacy.html" name="account_setPrivacy">Set privacy settings: account.setPrivacy</a>
|
||||||
|
47
docs/API_docs/methods/messages_acceptUrlAuth.md
Normal file
47
docs/API_docs/methods/messages_acceptUrlAuth.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
---
|
||||||
|
title: messages.acceptUrlAuth
|
||||||
|
description: Accept URL authorization
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: messages.acceptUrlAuth
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Accept URL authorization
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|write\_allowed|[Bool](../types/Bool.md) | Write allowed? | Optional|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Peer | Optional|
|
||||||
|
|msg\_id|[int](../types/int.md) | Message ID | Yes|
|
||||||
|
|button\_id|[int](../types/int.md) | Button ID | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$UrlAuthResult = $MadelineProto->messages->acceptUrlAuth(['write_allowed' => Bool, 'peer' => InputPeer, 'msg_id' => int, 'button_id' => int, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
UrlAuthResult = messages.acceptUrlAuth({write_allowed=Bool, peer=InputPeer, msg_id=int, button_id=int, })
|
||||||
|
```
|
||||||
|
|
@ -14,6 +14,7 @@ Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https:
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|exclude\_pinned|[Bool](../types/Bool.md) | Do not fetch pinned chats | Optional|
|
|exclude\_pinned|[Bool](../types/Bool.md) | Do not fetch pinned chats | Optional|
|
||||||
|
|folder\_id|[int](../types/int.md) | Folder ID | Optional|
|
||||||
|offset\_date|[int](../types/int.md) | End($res['messages'])['date']; | Yes|
|
|offset\_date|[int](../types/int.md) | End($res['messages'])['date']; | Yes|
|
||||||
|offset\_id|[int](../types/int.md) | End($res['messages'])['id']; | Yes|
|
|offset\_id|[int](../types/int.md) | End($res['messages'])['id']; | Yes|
|
||||||
|offset\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | End($res['dialogs'])['peer']; | Optional|
|
|offset\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | End($res['dialogs'])['peer']; | Optional|
|
||||||
@ -38,13 +39,13 @@ include 'madeline.php';
|
|||||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
$MadelineProto->start();
|
$MadelineProto->start();
|
||||||
|
|
||||||
$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]);
|
$messages_Dialogs = $MadelineProto->messages->getDialogs(['exclude_pinned' => Bool, 'folder_id' => int, 'offset_date' => int, 'offset_id' => int, 'offset_peer' => InputPeer, 'limit' => int, 'hash' => [int, int], ]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, })
|
messages_Dialogs = messages.getDialogs({exclude_pinned=Bool, folder_id=int, offset_date=int, offset_id=int, offset_peer=InputPeer, limit=int, hash={int}, })
|
||||||
```
|
```
|
||||||
|
|
||||||
### Errors this method can return:
|
### Errors this method can return:
|
||||||
|
44
docs/API_docs/methods/messages_getEmojiKeywordsLanguages.md
Normal file
44
docs/API_docs/methods/messages_getEmojiKeywordsLanguages.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: messages.getEmojiKeywordsLanguages
|
||||||
|
description: Get emoji keyword languages
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: messages.getEmojiKeywordsLanguages
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Get emoji keyword languages
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|lang\_codes|Array of [string](../types/string.md) | Language codes | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Vector\_of\_EmojiLanguage](../types/EmojiLanguage.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$Vector_of_EmojiLanguage = $MadelineProto->messages->getEmojiKeywordsLanguages(['lang_codes' => ['string', 'string'], ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
Vector_of_EmojiLanguage = messages.getEmojiKeywordsLanguages({lang_codes={'string'}, })
|
||||||
|
```
|
||||||
|
|
@ -9,6 +9,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
Get pinned dialogs
|
Get pinned dialogs
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|folder\_id|[int](../types/int.md) | Folder ID | Yes|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md)
|
### Return type: [messages\_PeerDialogs](../types/messages_PeerDialogs.md)
|
||||||
@ -28,12 +33,12 @@ include 'madeline.php';
|
|||||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
$MadelineProto->start();
|
$MadelineProto->start();
|
||||||
|
|
||||||
$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs();
|
$messages_PeerDialogs = $MadelineProto->messages->getPinnedDialogs(['folder_id' => int, ]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
messages_PeerDialogs = messages.getPinnedDialogs({})
|
messages_PeerDialogs = messages.getPinnedDialogs({folder_id=int, })
|
||||||
```
|
```
|
||||||
|
|
||||||
|
45
docs/API_docs/methods/messages_getSearchCounters.md
Normal file
45
docs/API_docs/methods/messages_getSearchCounters.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
title: messages.getSearchCounters
|
||||||
|
description: Get search counter
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: messages.getSearchCounters
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Get search counter
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Peer | Optional|
|
||||||
|
|filters|Array of [MessagesFilter](../types/MessagesFilter.md) | Filters | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Vector\_of\_messages\_SearchCounter](../types/messages_SearchCounter.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$Vector_of_messages_SearchCounter = $MadelineProto->messages->getSearchCounters(['peer' => InputPeer, 'filters' => [MessagesFilter, MessagesFilter], ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
Vector_of_messages_SearchCounter = messages.getSearchCounters({peer=InputPeer, filters={MessagesFilter}, })
|
||||||
|
```
|
||||||
|
|
@ -14,6 +14,7 @@ Reorder pinned dialogs
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|force|[Bool](../types/Bool.md) | Force reordering | Optional|
|
|force|[Bool](../types/Bool.md) | Force reordering | Optional|
|
||||||
|
|folder\_id|[int](../types/int.md) | Folder ID | Yes|
|
||||||
|order|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | New order | Yes|
|
|order|Array of [Username, chat ID, Update, Message or InputDialogPeer](../types/InputDialogPeer.md) | New order | Yes|
|
||||||
|
|
||||||
|
|
||||||
@ -34,13 +35,13 @@ include 'madeline.php';
|
|||||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
$MadelineProto->start();
|
$MadelineProto->start();
|
||||||
|
|
||||||
$Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'order' => [InputDialogPeer, InputDialogPeer], ]);
|
$Bool = $MadelineProto->messages->reorderPinnedDialogs(['force' => Bool, 'folder_id' => int, 'order' => [InputDialogPeer, InputDialogPeer], ]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
Bool = messages.reorderPinnedDialogs({force=Bool, order={InputDialogPeer}, })
|
Bool = messages.reorderPinnedDialogs({force=Bool, folder_id=int, order={InputDialogPeer}, })
|
||||||
```
|
```
|
||||||
|
|
||||||
### Errors this method can return:
|
### Errors this method can return:
|
||||||
|
46
docs/API_docs/methods/messages_requestUrlAuth.md
Normal file
46
docs/API_docs/methods/messages_requestUrlAuth.md
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: messages.requestUrlAuth
|
||||||
|
description: Request URL authorization
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Method: messages.requestUrlAuth
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
Request URL authorization
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Description | Required |
|
||||||
|
|----------|---------------|-------------|----------|
|
||||||
|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Peer | Optional|
|
||||||
|
|msg\_id|[int](../types/int.md) | Message ID | Yes|
|
||||||
|
|button\_id|[int](../types/int.md) | Button ID | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [UrlAuthResult](../types/UrlAuthResult.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||||
|
|
||||||
|
|
||||||
|
```php
|
||||||
|
if (!file_exists('madeline.php')) {
|
||||||
|
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||||
|
}
|
||||||
|
include 'madeline.php';
|
||||||
|
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
|
$MadelineProto->start();
|
||||||
|
|
||||||
|
$UrlAuthResult = $MadelineProto->messages->requestUrlAuth(['peer' => InputPeer, 'msg_id' => int, 'button_id' => int, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```lua
|
||||||
|
UrlAuthResult = messages.requestUrlAuth({peer=InputPeer, msg_id=int, button_id=int, })
|
||||||
|
```
|
||||||
|
|
@ -14,7 +14,7 @@ Global message search
|
|||||||
| Name | Type | Description | Required |
|
| Name | Type | Description | Required |
|
||||||
|----------|---------------|-------------|----------|
|
|----------|---------------|-------------|----------|
|
||||||
|q|[string](../types/string.md) | The query | Yes|
|
|q|[string](../types/string.md) | The query | Yes|
|
||||||
|offset\_date|[int](../types/int.md) | 0 or the date offset | Yes|
|
|offset\_rate|[int](../types/int.md) | Offset rate | Yes|
|
||||||
|offset\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | 0 or the peer offset | Optional|
|
|offset\_peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | 0 or the peer offset | Optional|
|
||||||
|offset\_id|[int](../types/int.md) | 0 or the message ID offset | Yes|
|
|offset\_id|[int](../types/int.md) | 0 or the message ID offset | Yes|
|
||||||
|limit|[int](../types/int.md) | The number of results to return | Yes|
|
|limit|[int](../types/int.md) | The number of results to return | Yes|
|
||||||
@ -37,13 +37,13 @@ include 'madeline.php';
|
|||||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||||
$MadelineProto->start();
|
$MadelineProto->start();
|
||||||
|
|
||||||
$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_date' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]);
|
$messages_Messages = $MadelineProto->messages->searchGlobal(['q' => 'string', 'offset_rate' => int, 'offset_peer' => InputPeer, 'offset_id' => int, 'limit' => int, ]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
messages_Messages = messages.searchGlobal({q='string', offset_date=int, offset_peer=InputPeer, offset_id=int, limit=int, })
|
messages_Messages = messages.searchGlobal({q='string', offset_rate=int, offset_peer=InputPeer, offset_id=int, limit=int, })
|
||||||
```
|
```
|
||||||
|
|
||||||
### Errors this method can return:
|
### Errors this method can return:
|
||||||
|
@ -46,6 +46,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[channelAdminLogEventActionStopPoll](../constructors/channelAdminLogEventActionStopPoll.md)
|
[channelAdminLogEventActionStopPoll](../constructors/channelAdminLogEventActionStopPoll.md)
|
||||||
|
|
||||||
|
[channelAdminLogEventActionChangeLinkedChat](../constructors/channelAdminLogEventActionChangeLinkedChat.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -14,8 +14,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[contactLinkNone](../constructors/contactLinkNone.md)
|
[contactLinkNone](../constructors/contactLinkNone.md)
|
||||||
|
|
||||||
[contactLinkHasPhone](../constructors/contactLinkHasPhone.md)
|
|
||||||
|
|
||||||
[contactLinkContact](../constructors/contactLinkContact.md)
|
[contactLinkContact](../constructors/contactLinkContact.md)
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,6 +12,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[dialog](../constructors/dialog.md)
|
[dialog](../constructors/dialog.md)
|
||||||
|
|
||||||
|
[dialogFolder](../constructors/dialogFolder.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -36,6 +36,8 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia
|
|||||||
|
|
||||||
[dialogPeer](../constructors/dialogPeer.md)
|
[dialogPeer](../constructors/dialogPeer.md)
|
||||||
|
|
||||||
|
[dialogPeerFolder](../constructors/dialogPeerFolder.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
22
docs/API_docs/types/EmojiLanguage.md
Normal file
22
docs/API_docs/types/EmojiLanguage.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
title: EmojiLanguage
|
||||||
|
description: constructors and methods of type EmojiLanguage
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Type: EmojiLanguage
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[emojiLanguage](../constructors/emojiLanguage.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
[$MadelineProto->messages->getEmojiKeywordsLanguages](../methods/messages_getEmojiKeywordsLanguages.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -10,9 +10,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
### Possible values (constructors):
|
### Possible values (constructors):
|
||||||
|
|
||||||
[fileLocationUnavailable](../constructors/fileLocationUnavailable.md)
|
[fileLocationToBeDeprecated](../constructors/fileLocationToBeDeprecated.md)
|
||||||
|
|
||||||
[fileLocation](../constructors/fileLocation.md)
|
[fileLocationUnavailable\_23](../constructors/fileLocationUnavailable_23.md)
|
||||||
|
|
||||||
[fileLocation\_23](../constructors/fileLocation_23.md)
|
[fileLocation\_23](../constructors/fileLocation_23.md)
|
||||||
|
|
||||||
|
20
docs/API_docs/types/Folder.md
Normal file
20
docs/API_docs/types/Folder.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: Folder
|
||||||
|
description: constructors and methods of type Folder
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Type: Folder
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[folder](../constructors/folder.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
|
||||||
|
|
20
docs/API_docs/types/FolderPeer.md
Normal file
20
docs/API_docs/types/FolderPeer.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: FolderPeer
|
||||||
|
description: constructors and methods of type FolderPeer
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Type: FolderPeer
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[folderPeer](../constructors/folderPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -38,6 +38,8 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia
|
|||||||
|
|
||||||
[inputChannel](../constructors/inputChannel.md)
|
[inputChannel](../constructors/inputChannel.md)
|
||||||
|
|
||||||
|
[inputChannelFromMessage](../constructors/inputChannelFromMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -36,6 +36,8 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia
|
|||||||
|
|
||||||
[inputDialogPeer](../constructors/inputDialogPeer.md)
|
[inputDialogPeer](../constructors/inputDialogPeer.md)
|
||||||
|
|
||||||
|
[inputDialogPeerFolder](../constructors/inputDialogPeerFolder.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -20,6 +20,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[inputTakeoutFileLocation](../constructors/inputTakeoutFileLocation.md)
|
[inputTakeoutFileLocation](../constructors/inputTakeoutFileLocation.md)
|
||||||
|
|
||||||
|
[inputPhotoFileLocation](../constructors/inputPhotoFileLocation.md)
|
||||||
|
|
||||||
|
[inputPeerPhotoFileLocation](../constructors/inputPeerPhotoFileLocation.md)
|
||||||
|
|
||||||
|
[inputStickerSetThumb](../constructors/inputStickerSetThumb.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
20
docs/API_docs/types/InputFolderPeer.md
Normal file
20
docs/API_docs/types/InputFolderPeer.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
title: InputFolderPeer
|
||||||
|
description: constructors and methods of type InputFolderPeer
|
||||||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||||
|
---
|
||||||
|
# Type: InputFolderPeer
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[inputFolderPeer](../constructors/inputFolderPeer.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -44,6 +44,10 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia
|
|||||||
|
|
||||||
[inputPeerChannel](../constructors/inputPeerChannel.md)
|
[inputPeerChannel](../constructors/inputPeerChannel.md)
|
||||||
|
|
||||||
|
[inputPeerUserFromMessage](../constructors/inputPeerUserFromMessage.md)
|
||||||
|
|
||||||
|
[inputPeerChannelFromMessage](../constructors/inputPeerChannelFromMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -22,6 +22,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[inputPrivacyKeyProfilePhoto](../constructors/inputPrivacyKeyProfilePhoto.md)
|
[inputPrivacyKeyProfilePhoto](../constructors/inputPrivacyKeyProfilePhoto.md)
|
||||||
|
|
||||||
|
[inputPrivacyKeyPhoneNumber](../constructors/inputPrivacyKeyPhoneNumber.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -22,6 +22,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md)
|
[inputPrivacyValueDisallowUsers](../constructors/inputPrivacyValueDisallowUsers.md)
|
||||||
|
|
||||||
|
[inputPrivacyValueAllowChatParticipants](../constructors/inputPrivacyValueAllowChatParticipants.md)
|
||||||
|
|
||||||
|
[inputPrivacyValueDisallowChatParticipants](../constructors/inputPrivacyValueDisallowChatParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -40,6 +40,8 @@ A [Chat](Chat.md), a [User](User.md), an [InputPeer](InputPeer.md), an [InputDia
|
|||||||
|
|
||||||
[inputUser](../constructors/inputUser.md)
|
[inputUser](../constructors/inputUser.md)
|
||||||
|
|
||||||
|
[inputUserFromMessage](../constructors/inputUserFromMessage.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -47,6 +47,10 @@ You can also access the properties of the constructor as a normal array, for exa
|
|||||||
|
|
||||||
[keyboardButtonBuy](../constructors/keyboardButtonBuy.md)
|
[keyboardButtonBuy](../constructors/keyboardButtonBuy.md)
|
||||||
|
|
||||||
|
[keyboardButtonUrlAuth](../constructors/keyboardButtonUrlAuth.md)
|
||||||
|
|
||||||
|
[inputKeyboardButtonUrlAuth](../constructors/inputKeyboardButtonUrlAuth.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -24,6 +24,8 @@ Describes available privacy settings
|
|||||||
|
|
||||||
[privacyKeyProfilePhoto](../constructors/privacyKeyProfilePhoto.md)
|
[privacyKeyProfilePhoto](../constructors/privacyKeyProfilePhoto.md)
|
||||||
|
|
||||||
|
[privacyKeyPhoneNumber](../constructors/privacyKeyPhoneNumber.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -24,6 +24,10 @@ Represents one rule for managing privacy settings
|
|||||||
|
|
||||||
[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md)
|
[privacyValueDisallowUsers](../constructors/privacyValueDisallowUsers.md)
|
||||||
|
|
||||||
|
[privacyValueAllowChatParticipants](../constructors/privacyValueAllowChatParticipants.md)
|
||||||
|
|
||||||
|
[privacyValueDisallowChatParticipants](../constructors/privacyValueDisallowChatParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -22,6 +22,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|||||||
|
|
||||||
[topPeerCategoryPhoneCalls](../constructors/topPeerCategoryPhoneCalls.md)
|
[topPeerCategoryPhoneCalls](../constructors/topPeerCategoryPhoneCalls.md)
|
||||||
|
|
||||||
|
[topPeerCategoryForwardUsers](../constructors/topPeerCategoryForwardUsers.md)
|
||||||
|
|
||||||
|
[topPeerCategoryForwardChats](../constructors/topPeerCategoryForwardChats.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -150,6 +150,8 @@ Contains notifications about data changes
|
|||||||
|
|
||||||
[updateChatDefaultBannedRights](../constructors/updateChatDefaultBannedRights.md)
|
[updateChatDefaultBannedRights](../constructors/updateChatDefaultBannedRights.md)
|
||||||
|
|
||||||
|
[updateFolderPeers](../constructors/updateFolderPeers.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user