Update to layer 97

This commit is contained in:
Daniil Gentili 2019-03-29 21:12:30 +01:00
parent 070bc5ab66
commit 24c6ea38c0
1334 changed files with 53412 additions and 43 deletions

View File

@ -0,0 +1,40 @@
---
title: account.autoDownloadSettings
description: Autodownload settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.autoDownloadSettings
[Back to constructors index](index.md)
Autodownload settings
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|low|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Low preset?|
|medium|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|Medium preset?|
|high|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Yes|High preset?|
### Type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md)
### Example:
```php
$account_autoDownloadSettings = ['_' => 'account.autoDownloadSettings', 'low' => AutoDownloadSettings, 'medium' => AutoDownloadSettings, 'high' => AutoDownloadSettings];
```
Or, if you're into Lua:
```lua
account_autoDownloadSettings={_='account.autoDownloadSettings', low=AutoDownloadSettings, medium=AutoDownloadSettings, high=AutoDownloadSettings}
```

View File

@ -0,0 +1,44 @@
---
title: autoDownloadSettings
description: Autodownload settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: autoDownloadSettings
[Back to constructors index](index.md)
Autodownload settings
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|disabled|[Bool](../types/Bool.md) | Optional|Disabled?|
|video\_preload\_large|[Bool](../types/Bool.md) | Optional|Preload large videos?|
|audio\_preload\_next|[Bool](../types/Bool.md) | Optional|Preload audios?|
|phonecalls\_less\_data|[Bool](../types/Bool.md) | Optional|Use less data in phonecalls?|
|photo\_size\_max|[int](../types/int.md) | Yes|Maximum photo file size to preload|
|video\_size\_max|[int](../types/int.md) | Yes|Maximum video file size to preload|
|file\_size\_max|[int](../types/int.md) | Yes|Maximum file size to preload|
### Type: [AutoDownloadSettings](../types/AutoDownloadSettings.md)
### Example:
```php
$autoDownloadSettings = ['_' => 'autoDownloadSettings', 'disabled' => Bool, 'video_preload_large' => Bool, 'audio_preload_next' => Bool, 'phonecalls_less_data' => Bool, 'photo_size_max' => int, 'video_size_max' => int, 'file_size_max' => int];
```
Or, if you're into Lua:
```lua
autoDownloadSettings={_='autoDownloadSettings', disabled=Bool, video_preload_large=Bool, audio_preload_next=Bool, phonecalls_less_data=Bool, photo_size_max=int, video_size_max=int, file_size_max=int}
```

View File

@ -0,0 +1,39 @@
---
title: emojiKeyword
description: Emoji keyword
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: emojiKeyword
[Back to constructors index](index.md)
Emoji keyword
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|keyword|[string](../types/string.md) | Yes|Keyword|
|emoticons|Array of [string](../types/string.md) | Yes|Emoticons|
### Type: [EmojiKeyword](../types/EmojiKeyword.md)
### Example:
```php
$emojiKeyword = ['_' => 'emojiKeyword', 'keyword' => 'string', 'emoticons' => ['string', 'string']];
```
Or, if you're into Lua:
```lua
emojiKeyword={_='emojiKeyword', keyword='string', emoticons={'string'}}
```

View File

@ -0,0 +1,39 @@
---
title: emojiKeywordDeleted
description: Deleted emoji keyword
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: emojiKeywordDeleted
[Back to constructors index](index.md)
Deleted emoji keyword
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|keyword|[string](../types/string.md) | Yes|Keyword|
|emoticons|Array of [string](../types/string.md) | Yes|Emoticons|
### Type: [EmojiKeyword](../types/EmojiKeyword.md)
### Example:
```php
$emojiKeywordDeleted = ['_' => 'emojiKeywordDeleted', 'keyword' => 'string', 'emoticons' => ['string', 'string']];
```
Or, if you're into Lua:
```lua
emojiKeywordDeleted={_='emojiKeywordDeleted', keyword='string', emoticons={'string'}}
```

View File

@ -0,0 +1,41 @@
---
title: emojiKeywordsDifference
description: Emoji keword difference
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: emojiKeywordsDifference
[Back to constructors index](index.md)
Emoji keword difference
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|lang\_code|[string](../types/string.md) | Yes|Language code|
|from\_version|[int](../types/int.md) | Yes|Previous version|
|version|[int](../types/int.md) | Yes|Current version|
|keywords|Array of [EmojiKeyword](../types/EmojiKeyword.md) | Yes|Keywords|
### Type: [EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)
### Example:
```php
$emojiKeywordsDifference = ['_' => 'emojiKeywordsDifference', 'lang_code' => 'string', 'from_version' => int, 'version' => int, 'keywords' => [EmojiKeyword, EmojiKeyword]];
```
Or, if you're into Lua:
```lua
emojiKeywordsDifference={_='emojiKeywordsDifference', lang_code='string', from_version=int, version=int, keywords={EmojiKeyword}}
```

View File

@ -0,0 +1,38 @@
---
title: emojiURL
description: Emoji URL
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: emojiURL
[Back to constructors index](index.md)
Emoji URL
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|url|[string](../types/string.md) | Yes|URL|
### Type: [EmojiURL](../types/EmojiURL.md)
### Example:
```php
$emojiURL = ['_' => 'emojiURL', 'url' => 'string'];
```
Or, if you're into Lua:
```lua
emojiURL={_='emojiURL', url='string'}
```

View File

@ -17,6 +17,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \];<a name="account_authorizations"></a> [$account\_authorizations](../constructors/account_authorizations.md) = \['authorizations' => \[[Authorization](../types/Authorization.md)\], \];<a name="account_authorizations"></a>
[$account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md) = \['low' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'medium' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), 'high' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \];<a name="account_autoDownloadSettings"></a>
[$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \];<a name="account_password"></a> [$account\_password](../constructors/account_password.md) = \['has_recovery' => [Bool](../types/Bool.md), 'has_secure_values' => [Bool](../types/Bool.md), 'has_password' => [Bool](../types/Bool.md), 'current_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'srp_B' => [bytes](../types/bytes.md), 'srp_id' => [long](../types/long.md), 'hint' => [string](../types/string.md), 'email_unconfirmed_pattern' => [string](../types/string.md), 'new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_secure_algo' => [SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md), 'secure_random' => [bytes](../types/bytes.md), \];<a name="account_password"></a>
[$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \];<a name="account_passwordInputSettings"></a> [$account\_passwordInputSettings](../constructors/account_passwordInputSettings.md) = \['new_algo' => [PasswordKdfAlgo](../types/PasswordKdfAlgo.md), 'new_password_hash' => [bytes](../types/bytes.md), 'hint' => [string](../types/string.md), 'email' => [string](../types/string.md), 'new_secure_settings' => [SecureSecretSettings](../types/SecureSecretSettings.md), \];<a name="account_passwordInputSettings"></a>
@ -65,6 +67,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
*** ***
<br><br>[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="authorization"></a> <br><br>[$authorization](../constructors/authorization.md) = \['current' => [Bool](../types/Bool.md), 'official_app' => [Bool](../types/Bool.md), 'password_pending' => [Bool](../types/Bool.md), 'hash' => [long](../types/long.md), 'device_model' => [string](../types/string.md), 'platform' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'api_id' => [int](../types/int.md), 'app_name' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'date_created' => [int](../types/int.md), 'date_active' => [int](../types/int.md), 'ip' => [string](../types/string.md), 'country' => [string](../types/string.md), 'region' => [string](../types/string.md), \];<a name="authorization"></a>
***
<br><br>[$autoDownloadSettings](../constructors/autoDownloadSettings.md) = \['disabled' => [Bool](../types/Bool.md), 'video_preload_large' => [Bool](../types/Bool.md), 'audio_preload_next' => [Bool](../types/Bool.md), 'phonecalls_less_data' => [Bool](../types/Bool.md), 'photo_size_max' => [int](../types/int.md), 'video_size_max' => [int](../types/int.md), 'file_size_max' => [int](../types/int.md), \];<a name="autoDownloadSettings"></a>
*** ***
<br><br>[$boolFalse](../constructors/boolFalse.md) = \[\];<a name="boolFalse"></a> <br><br>[$boolFalse](../constructors/boolFalse.md) = \[\];<a name="boolFalse"></a>
@ -454,6 +459,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
*** ***
<br><br>[$draftMessageEmpty](../constructors/draftMessageEmpty.md) = \['date' => [int](../types/int.md), \];<a name="draftMessageEmpty"></a> <br><br>[$draftMessageEmpty](../constructors/draftMessageEmpty.md) = \['date' => [int](../types/int.md), \];<a name="draftMessageEmpty"></a>
***
<br><br>[$emojiKeyword](../constructors/emojiKeyword.md) = \['keyword' => [string](../types/string.md), 'emoticons' => \[[string](../types/string.md)\], \];<a name="emojiKeyword"></a>
***
<br><br>[$emojiKeywordDeleted](../constructors/emojiKeywordDeleted.md) = \['keyword' => [string](../types/string.md), 'emoticons' => \[[string](../types/string.md)\], \];<a name="emojiKeywordDeleted"></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>[$emojiURL](../constructors/emojiURL.md) = \['url' => [string](../types/string.md), \];<a name="emojiURL"></a>
*** ***
<br><br>[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \];<a name="encryptedChat"></a> <br><br>[$encryptedChat](../constructors/encryptedChat.md) = \['id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_or_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \];<a name="encryptedChat"></a>
@ -1137,7 +1154,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityUrl"></a> <br><br>[$messageEntityUrl](../constructors/messageEntityUrl.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), \];<a name="messageEntityUrl"></a>
*** ***
<br><br>[$messageFwdHeader](../constructors/messageFwdHeader.md) = \['from_id' => [int](../types/int.md), 'date' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'channel_post' => [int](../types/int.md), 'post_author' => [string](../types/string.md), 'saved_from_peer' => [Peer](../types/Peer.md), 'saved_from_msg_id' => [int](../types/int.md), \];<a name="messageFwdHeader"></a> <br><br>[$messageFwdHeader](../constructors/messageFwdHeader.md) = \['from_id' => [int](../types/int.md), 'from_name' => [string](../types/string.md), 'date' => [int](../types/int.md), 'channel_id' => [int](../types/int.md), 'channel_post' => [int](../types/int.md), 'post_author' => [string](../types/string.md), 'saved_from_peer' => [Peer](../types/Peer.md), 'saved_from_msg_id' => [int](../types/int.md), \];<a name="messageFwdHeader"></a>
*** ***
<br><br>[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'vcard' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \];<a name="messageMediaContact"></a> <br><br>[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'vcard' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \];<a name="messageMediaContact"></a>
@ -1522,12 +1539,18 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
*** ***
<br><br>[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\];<a name="privacyKeyChatInvite"></a> <br><br>[$privacyKeyChatInvite](../constructors/privacyKeyChatInvite.md) = \[\];<a name="privacyKeyChatInvite"></a>
***
<br><br>[$privacyKeyForwards](../constructors/privacyKeyForwards.md) = \[\];<a name="privacyKeyForwards"></a>
*** ***
<br><br>[$privacyKeyPhoneCall](../constructors/privacyKeyPhoneCall.md) = \[\];<a name="privacyKeyPhoneCall"></a> <br><br>[$privacyKeyPhoneCall](../constructors/privacyKeyPhoneCall.md) = \[\];<a name="privacyKeyPhoneCall"></a>
*** ***
<br><br>[$privacyKeyPhoneP2P](../constructors/privacyKeyPhoneP2P.md) = \[\];<a name="privacyKeyPhoneP2P"></a> <br><br>[$privacyKeyPhoneP2P](../constructors/privacyKeyPhoneP2P.md) = \[\];<a name="privacyKeyPhoneP2P"></a>
***
<br><br>[$privacyKeyProfilePhoto](../constructors/privacyKeyProfilePhoto.md) = \[\];<a name="privacyKeyProfilePhoto"></a>
*** ***
<br><br>[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\];<a name="privacyKeyStatusTimestamp"></a> <br><br>[$privacyKeyStatusTimestamp](../constructors/privacyKeyStatusTimestamp.md) = \[\];<a name="privacyKeyStatusTimestamp"></a>
@ -1742,7 +1765,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), '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), '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>
@ -1904,7 +1927,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \];<a name="updateChatParticipants"></a> <br><br>[$updateChatParticipants](../constructors/updateChatParticipants.md) = \['participants' => [ChatParticipants](../types/ChatParticipants.md), \];<a name="updateChatParticipants"></a>
*** ***
<br><br>[$updateChatPinnedMessage](../constructors/updateChatPinnedMessage.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), \];<a name="updateChatPinnedMessage"></a> <br><br>[$updateChatPinnedMessage](../constructors/updateChatPinnedMessage.md) = \['chat_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'version' => [int](../types/int.md), \];<a name="updateChatPinnedMessage"></a>
*** ***
<br><br>[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \];<a name="updateChatUserTyping"></a> <br><br>[$updateChatUserTyping](../constructors/updateChatUserTyping.md) = \['chat_id' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \];<a name="updateChatUserTyping"></a>
@ -2103,7 +2126,7 @@ 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), '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>[$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>[$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>

View File

@ -1,6 +1,6 @@
--- ---
title: inputPrivacyKeyForwards title: inputPrivacyKeyForwards
description: inputPrivacyKeyForwards attributes, type and example description: Can his messages be forwarded?
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
--- ---
# Constructor: inputPrivacyKeyForwards # Constructor: inputPrivacyKeyForwards
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
Can his messages be forwarded?

View File

@ -1,6 +1,6 @@
--- ---
title: inputPrivacyKeyProfilePhoto title: inputPrivacyKeyProfilePhoto
description: inputPrivacyKeyProfilePhoto attributes, type and example description: Can his profile photo be viewed?
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
--- ---
# Constructor: inputPrivacyKeyProfilePhoto # Constructor: inputPrivacyKeyProfilePhoto
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
Can his profile photo be viewed?

View File

@ -15,6 +15,7 @@ Forwarded message info
| Name | Type | Required | Description | | Name | Type | Required | Description |
|----------|---------------|----------|-------------| |----------|---------------|----------|-------------|
|from\_id|[int](../types/int.md) | Optional|From ID| |from\_id|[int](../types/int.md) | Optional|From ID|
|from\_name|[string](../types/string.md) | Optional|Author of the original message|
|date|[int](../types/int.md) | Yes|Date| |date|[int](../types/int.md) | Yes|Date|
|channel\_id|[int](../types/int.md) | Optional|Channel ID| |channel\_id|[int](../types/int.md) | Optional|Channel ID|
|channel\_post|[int](../types/int.md) | Optional|Channel post| |channel\_post|[int](../types/int.md) | Optional|Channel post|
@ -30,14 +31,14 @@ Forwarded message info
### Example: ### Example:
```php ```php
$messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int]; $messageFwdHeader = ['_' => 'messageFwdHeader', 'from_id' => int, 'from_name' => 'string', 'date' => int, 'channel_id' => int, 'channel_post' => int, 'post_author' => 'string', 'saved_from_peer' => Peer, 'saved_from_msg_id' => int];
``` ```
Or, if you're into Lua: Or, if you're into Lua:
```lua ```lua
messageFwdHeader={_='messageFwdHeader', from_id=int, date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int} messageFwdHeader={_='messageFwdHeader', from_id=int, from_name='string', date=int, channel_id=int, channel_post=int, post_author='string', saved_from_peer=Peer, saved_from_msg_id=int}
``` ```

View File

@ -0,0 +1,33 @@
---
title: privacyKeyForwards
description: Forwards privacy key
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyKeyForwards
[Back to constructors index](index.md)
Forwards privacy key
### Type: [PrivacyKey](../types/PrivacyKey.md)
### Example:
```php
$privacyKeyForwards = ['_' => 'privacyKeyForwards'];
```
Or, if you're into Lua:
```lua
privacyKeyForwards={_='privacyKeyForwards'}
```

View File

@ -0,0 +1,33 @@
---
title: privacyKeyProfilePhoto
description: Show profile photo?
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyKeyProfilePhoto
[Back to constructors index](index.md)
Show profile photo?
### Type: [PrivacyKey](../types/PrivacyKey.md)
### Example:
```php
$privacyKeyProfilePhoto = ['_' => 'privacyKeyProfilePhoto'];
```
Or, if you're into Lua:
```lua
privacyKeyProfilePhoto={_='privacyKeyProfilePhoto'}
```

View File

@ -22,6 +22,7 @@ Sticker set
|access\_hash|[long](../types/long.md) | Yes|Access hash| |access\_hash|[long](../types/long.md) | Yes|Access hash|
|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|
|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|
@ -33,14 +34,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', '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, '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', 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, count=int, hash=int}
``` ```

View File

@ -16,6 +16,7 @@ Update chat pinned message
|----------|---------------|----------|-------------| |----------|---------------|----------|-------------|
|chat\_id|[int](../types/int.md) | Yes|Chat ID| |chat\_id|[int](../types/int.md) | Yes|Chat ID|
|id|[int](../types/int.md) | Yes|ID| |id|[int](../types/int.md) | Yes|ID|
|version|[int](../types/int.md) | Yes|Version|
@ -25,14 +26,14 @@ Update chat pinned message
### Example: ### Example:
```php ```php
$updateChatPinnedMessage = ['_' => 'updateChatPinnedMessage', 'chat_id' => int, 'id' => int]; $updateChatPinnedMessage = ['_' => 'updateChatPinnedMessage', 'chat_id' => int, 'id' => int, 'version' => int];
``` ```
Or, if you're into Lua: Or, if you're into Lua:
```lua ```lua
updateChatPinnedMessage={_='updateChatPinnedMessage', chat_id=int, id=int} updateChatPinnedMessage={_='updateChatPinnedMessage', chat_id=int, id=int, version=int}
``` ```

View File

@ -25,6 +25,7 @@ User
|restricted|[Bool](../types/Bool.md) | Optional|Restricted?| |restricted|[Bool](../types/Bool.md) | Optional|Restricted?|
|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?|
|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|
@ -46,14 +47,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, '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, '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, 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, 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'}
``` ```

View File

@ -1,9 +1,9 @@
--- ---
title: MadelineProto API documentation (layer 95) title: MadelineProto API documentation (layer 97)
description: MadelineProto API documentation (layer 95) description: MadelineProto API documentation (layer 97)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
--- ---
# MadelineProto API documentation (layer 95) # MadelineProto API documentation (layer 97)
[Back to main documentation](..) [Back to main documentation](..)

View File

@ -0,0 +1,40 @@
---
title: account.getAutoDownloadSettings
description: Get autodownload settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: account.getAutoDownloadSettings
[Back to methods index](index.md)
Get autodownload settings
### Return type: [account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md)
### Can bots use this method: **YES**
### MadelineProto Example:
```php
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
define('MADELINE_BRANCH', '');
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$account_AutoDownloadSettings = $MadelineProto->account->getAutoDownloadSettings();
```
Or, if you're into Lua:
```lua
account_AutoDownloadSettings = account.getAutoDownloadSettings({})
```

View File

@ -0,0 +1,47 @@
---
title: account.saveAutoDownloadSettings
description: Save autodownload settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: account.saveAutoDownloadSettings
[Back to methods index](index.md)
Save autodownload settings
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|low|[Bool](../types/Bool.md) | Low preset | Optional|
|high|[Bool](../types/Bool.md) | High preset | Optional|
|settings|[AutoDownloadSettings](../types/AutoDownloadSettings.md) | Autodownload settings | Yes|
### Return type: [Bool](../types/Bool.md)
### Can bots use this method: **YES**
### MadelineProto Example:
```php
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
define('MADELINE_BRANCH', '');
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$Bool = $MadelineProto->account->saveAutoDownloadSettings(['low' => Bool, 'high' => Bool, 'settings' => AutoDownloadSettings, ]);
```
Or, if you're into Lua:
```lua
Bool = account.saveAutoDownloadSettings({low=Bool, high=Bool, settings=AutoDownloadSettings, })
```

View File

@ -62,6 +62,8 @@ $MadelineProto->[account->getAuthorizationForm](account_getAuthorizationForm.md)
$MadelineProto->[account->getAuthorizations](account_getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md)<a name="account_getAuthorizations"></a> $MadelineProto->[account->getAuthorizations](account_getAuthorizations.md)(\[\]) === [$account\_Authorizations](../types/account_Authorizations.md)<a name="account_getAuthorizations"></a>
$MadelineProto->[account->getAutoDownloadSettings](account_getAutoDownloadSettings.md)(\[\]) === [$account\_AutoDownloadSettings](../types/account_AutoDownloadSettings.md)<a name="account_getAutoDownloadSettings"></a>
$MadelineProto->[account->getContactSignUpNotification](account_getContactSignUpNotification.md)(\[\]) === [$Bool](../types/Bool.md)<a name="account_getContactSignUpNotification"></a> $MadelineProto->[account->getContactSignUpNotification](account_getContactSignUpNotification.md)(\[\]) === [$Bool](../types/Bool.md)<a name="account_getContactSignUpNotification"></a>
$MadelineProto->[account->getNotifyExceptions](account_getNotifyExceptions.md)(\['compare_sound' => [Bool](../types/Bool.md), 'peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) === [$Updates](../types/Updates.md)<a name="account_getNotifyExceptions"></a> $MadelineProto->[account->getNotifyExceptions](account_getNotifyExceptions.md)(\['compare_sound' => [Bool](../types/Bool.md), 'peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) === [$Updates](../types/Updates.md)<a name="account_getNotifyExceptions"></a>
@ -104,6 +106,8 @@ $MadelineProto->[account->resetWebAuthorization](account_resetWebAuthorization.m
$MadelineProto->[account->resetWebAuthorizations](account_resetWebAuthorizations.md)(\[\]) === [$Bool](../types/Bool.md)<a name="account_resetWebAuthorizations"></a> $MadelineProto->[account->resetWebAuthorizations](account_resetWebAuthorizations.md)(\[\]) === [$Bool](../types/Bool.md)<a name="account_resetWebAuthorizations"></a>
$MadelineProto->[account->saveAutoDownloadSettings](account_saveAutoDownloadSettings.md)(\['low' => [Bool](../types/Bool.md), 'high' => [Bool](../types/Bool.md), 'settings' => [AutoDownloadSettings](../types/AutoDownloadSettings.md), \]) === [$Bool](../types/Bool.md)<a name="account_saveAutoDownloadSettings"></a>
$MadelineProto->[account->saveSecureValue](account_saveSecureValue.md)(\['value' => [InputSecureValue](../types/InputSecureValue.md), 'secure_secret_id' => [long](../types/long.md), \]) === [$SecureValue](../types/SecureValue.md)<a name="account_saveSecureValue"></a> $MadelineProto->[account->saveSecureValue](account_saveSecureValue.md)(\['value' => [InputSecureValue](../types/InputSecureValue.md), 'secure_secret_id' => [long](../types/long.md), \]) === [$SecureValue](../types/SecureValue.md)<a name="account_saveSecureValue"></a>
$MadelineProto->[account->saveWallPaper](account_saveWallPaper.md)(\['wallpaper' => [InputWallPaper](../types/InputWallPaper.md), 'unsave' => [Bool](../types/Bool.md), 'settings' => [WallPaperSettings](../types/WallPaperSettings.md), \]) === [$Bool](../types/Bool.md)<a name="account_saveWallPaper"></a> $MadelineProto->[account->saveWallPaper](account_saveWallPaper.md)(\['wallpaper' => [InputWallPaper](../types/InputWallPaper.md), 'unsave' => [Bool](../types/Bool.md), 'settings' => [WallPaperSettings](../types/WallPaperSettings.md), \]) === [$Bool](../types/Bool.md)<a name="account_saveWallPaper"></a>
@ -346,7 +350,7 @@ $MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X
*** ***
<br><br> <br><br>
$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a> $MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a> $MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
@ -372,7 +376,7 @@ $MadelineProto->[messages->createChat](messages_createChat.md)(\['users' => \[[I
$MadelineProto->[messages->deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$Updates](../types/Updates.md)<a name="messages_deleteChatUser"></a> $MadelineProto->[messages->deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$Updates](../types/Updates.md)<a name="messages_deleteChatUser"></a>
$MadelineProto->[messages->deleteHistory](messages_deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="messages_deleteHistory"></a> $MadelineProto->[messages->deleteHistory](messages_deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'revoke' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="messages_deleteHistory"></a>
$MadelineProto->[messages->deleteMessages](messages_deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_deleteMessages"></a> $MadelineProto->[messages->deleteMessages](messages_deleteMessages.md)(\['revoke' => [Bool](../types/Bool.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_deleteMessages"></a>
@ -422,6 +426,12 @@ $MadelineProto->[messages->getDialogs](messages_getDialogs.md)(\['exclude_pinned
$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>
$MadelineProto->[messages->getEmojiKeywords](messages_getEmojiKeywords.md)(\['lang_code' => [string](../types/string.md), \]) === [$EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)<a name="messages_getEmojiKeywords"></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->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>
$MadelineProto->[messages->getFeaturedStickers](messages_getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)<a name="messages_getFeaturedStickers"></a> $MadelineProto->[messages->getFeaturedStickers](messages_getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)<a name="messages_getFeaturedStickers"></a>
@ -462,7 +472,7 @@ $MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [
$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)(\['peer' => [InputPeer](../types/InputPeer.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>
$MadelineProto->[messages->getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="messages_getStickerSet"></a> $MadelineProto->[messages->getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="messages_getStickerSet"></a>
@ -600,7 +610,7 @@ $MadelineProto->[phone->requestCall](phone_requestCall.md)(\['user_id' => [Input
$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>
$MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a> $MadelineProto->[phone->setCallRating](phone_setCallRating.md)(\['user_initiative' => [Bool](../types/Bool.md), 'peer' => [InputPhoneCall](../types/InputPhoneCall.md), 'rating' => [int](../types/int.md), 'comment' => [string](../types/string.md), \]) === [$Updates](../types/Updates.md)<a name="phone_setCallRating"></a>
*** ***
<br><br> <br><br>

View File

@ -204,6 +204,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="help_getAppConfig.html" name="help_getAppConfig">Get app config: help.getAppConfig</a> * <a href="help_getAppConfig.html" name="help_getAppConfig">Get app config: help.getAppConfig</a>
* <a href="account_getAutoDownloadSettings.html" name="account_getAutoDownloadSettings">Get autodownload settings: account.getAutoDownloadSettings</a>
* <a href="langpack_getLanguages.html" name="langpack_getLanguages">Get available languages: langpack.getLanguages</a> * <a href="langpack_getLanguages.html" name="langpack_getLanguages">Get available languages: langpack.getLanguages</a>
* <a href="contacts_getBlocked.html" name="contacts_getBlocked">Get blocked users: contacts.getBlocked</a> * <a href="contacts_getBlocked.html" name="contacts_getBlocked">Get blocked users: contacts.getBlocked</a>
@ -226,6 +228,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash: messages.getDocumentByHash</a> * <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash: messages.getDocumentByHash</a>
* <a href="messages_getEmojiURL.html" name="messages_getEmojiURL">Get emoji URL: messages.getEmojiURL</a>
* <a href="messages_getEmojiKeywordsDifference.html" name="messages_getEmojiKeywordsDifference">Get emoji keyword difference: messages.getEmojiKeywordsDifference</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>
@ -438,6 +446,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft: messages.saveDraft</a> * <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft: messages.saveDraft</a>
* <a href="account_saveAutoDownloadSettings.html" name="account_saveAutoDownloadSettings">Save autodownload settings: account.saveAutoDownloadSettings</a>
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info: phone.saveCallDebug</a> * <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info: phone.saveCallDebug</a>
* <a href="account_saveSecureValue.html" name="account_saveSecureValue">Save telegram passport secure value: account.saveSecureValue</a> * <a href="account_saveSecureValue.html" name="account_saveSecureValue">Save telegram passport secure value: account.saveSecureValue</a>
@ -514,7 +524,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a> * <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
* <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message (private chat only): messages.updatePinnedMessage</a> * <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message: messages.updatePinnedMessage</a>
* <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a> * <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a>

View File

@ -13,6 +13,7 @@ Get language pack updates
| Name | Type | Description | Required | | Name | Type | Description | Required |
|----------|---------------|-------------|----------| |----------|---------------|-------------|----------|
|lang\_pack|[string](../types/string.md) | Language pack | Yes|
|lang\_code|[string](../types/string.md) | Lang code | Yes| |lang\_code|[string](../types/string.md) | Lang code | Yes|
|from\_version|[int](../types/int.md) | Previous version | Yes| |from\_version|[int](../types/int.md) | Previous version | Yes|
@ -35,13 +36,13 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start(); $MadelineProto->start();
$LangPackDifference = $MadelineProto->langpack->getDifference(['lang_code' => 'string', 'from_version' => int, ]); $LangPackDifference = $MadelineProto->langpack->getDifference(['lang_pack' => 'string', 'lang_code' => 'string', 'from_version' => int, ]);
``` ```
Or, if you're into Lua: Or, if you're into Lua:
```lua ```lua
LangPackDifference = langpack.getDifference({lang_code='string', from_version=int, }) LangPackDifference = langpack.getDifference({lang_pack='string', lang_code='string', from_version=int, })
``` ```
### Errors this method can return: ### Errors this method can return:

View File

@ -14,6 +14,7 @@ Delete chat history
| Name | Type | Description | Required | | Name | Type | Description | Required |
|----------|---------------|-------------|----------| |----------|---------------|-------------|----------|
|just\_clear|[Bool](../types/Bool.md) | Only clear it from your side | Optional| |just\_clear|[Bool](../types/Bool.md) | Only clear it from your side | Optional|
|revoke|[Bool](../types/Bool.md) | Delete messages for the other user | Optional|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Where to clear it | Optional| |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Where to clear it | Optional|
|max\_id|[int](../types/int.md) | Maximum message id of messages to delete | Yes| |max\_id|[int](../types/int.md) | Maximum message id of messages to delete | Yes|
@ -36,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_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]); $messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'revoke' => Bool, 'peer' => InputPeer, 'max_id' => int, ]);
``` ```
Or, if you're into Lua: Or, if you're into Lua:
```lua ```lua
messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, peer=InputPeer, max_id=int, }) messages_AffectedHistory = messages.deleteHistory({just_clear=Bool, revoke=Bool, peer=InputPeer, max_id=int, })
``` ```
### Errors this method can return: ### Errors this method can return:

View File

@ -0,0 +1,45 @@
---
title: messages.getEmojiKeywords
description: Get emoji keywords
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: messages.getEmojiKeywords
[Back to methods index](index.md)
Get emoji keywords
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|lang\_code|[string](../types/string.md) | Language code | Yes|
### Return type: [EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)
### Can bots use this method: **YES**
### MadelineProto Example:
```php
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
define('MADELINE_BRANCH', '');
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$EmojiKeywordsDifference = $MadelineProto->messages->getEmojiKeywords(['lang_code' => 'string', ]);
```
Or, if you're into Lua:
```lua
EmojiKeywordsDifference = messages.getEmojiKeywords({lang_code='string', })
```

View File

@ -0,0 +1,46 @@
---
title: messages.getEmojiKeywordsDifference
description: Get emoji keyword difference
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: messages.getEmojiKeywordsDifference
[Back to methods index](index.md)
Get emoji keyword difference
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|lang\_code|[string](../types/string.md) | Language code | Yes|
|from\_version|[int](../types/int.md) | From version | Yes|
### Return type: [EmojiKeywordsDifference](../types/EmojiKeywordsDifference.md)
### Can bots use this method: **YES**
### MadelineProto Example:
```php
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
define('MADELINE_BRANCH', '');
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$EmojiKeywordsDifference = $MadelineProto->messages->getEmojiKeywordsDifference(['lang_code' => 'string', 'from_version' => int, ]);
```
Or, if you're into Lua:
```lua
EmojiKeywordsDifference = messages.getEmojiKeywordsDifference({lang_code='string', from_version=int, })
```

View File

@ -0,0 +1,45 @@
---
title: messages.getEmojiURL
description: Get emoji URL
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: messages.getEmojiURL
[Back to methods index](index.md)
Get emoji URL
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|lang\_code|[string](../types/string.md) | Language code | Yes|
### Return type: [EmojiURL](../types/EmojiURL.md)
### Can bots use this method: **YES**
### MadelineProto Example:
```php
if (!file_exists('madeline.php')) {
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
define('MADELINE_BRANCH', '');
include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$EmojiURL = $MadelineProto->messages->getEmojiURL(['lang_code' => 'string', ]);
```
Or, if you're into Lua:
```lua
EmojiURL = messages.getEmojiURL({lang_code='string', })
```

View File

@ -13,7 +13,9 @@ Get stats URL
| Name | Type | Description | Required | | Name | Type | Description | Required |
|----------|---------------|-------------|----------| |----------|---------------|-------------|----------|
|dark|[Bool](../types/Bool.md) | Dark? | Optional|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Peer | Optional| |peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Peer | Optional|
|params|[string](../types/string.md) | Params | Yes|
### Return type: [StatsURL](../types/StatsURL.md) ### Return type: [StatsURL](../types/StatsURL.md)
@ -34,12 +36,12 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start(); $MadelineProto->start();
$StatsURL = $MadelineProto->messages->getStatsURL(['peer' => InputPeer, ]); $StatsURL = $MadelineProto->messages->getStatsURL(['dark' => Bool, 'peer' => InputPeer, 'params' => 'string', ]);
``` ```
Or, if you're into Lua: Or, if you're into Lua:
```lua ```lua
StatsURL = messages.getStatsURL({peer=InputPeer, }) StatsURL = messages.getStatsURL({dark=Bool, peer=InputPeer, params='string', })
``` ```

View File

@ -1,13 +1,13 @@
--- ---
title: messages.updatePinnedMessage title: messages.updatePinnedMessage
description: Update pinned message (private chat only) description: Update pinned message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
--- ---
# Method: messages.updatePinnedMessage # Method: messages.updatePinnedMessage
[Back to methods index](index.md) [Back to methods index](index.md)
Update pinned message (private chat only) Update pinned message
### Parameters: ### Parameters:

View File

@ -13,6 +13,7 @@ Set phone call rating
| Name | Type | Description | Required | | Name | Type | Description | Required |
|----------|---------------|-------------|----------| |----------|---------------|-------------|----------|
|user\_initiative|[Bool](../types/Bool.md) | User initiative | Optional|
|peer|[InputPhoneCall](../types/InputPhoneCall.md) | The phone call | Yes| |peer|[InputPhoneCall](../types/InputPhoneCall.md) | The phone call | Yes|
|rating|[int](../types/int.md) | Rating (1-5 stars) | Yes| |rating|[int](../types/int.md) | Rating (1-5 stars) | Yes|
|comment|[string](../types/string.md) | An optional comment | Yes| |comment|[string](../types/string.md) | An optional comment | Yes|
@ -36,13 +37,13 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline'); $MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start(); $MadelineProto->start();
$Updates = $MadelineProto->phone->setCallRating(['peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]); $Updates = $MadelineProto->phone->setCallRating(['user_initiative' => Bool, 'peer' => InputPhoneCall, 'rating' => int, 'comment' => 'string', ]);
``` ```
Or, if you're into Lua: Or, if you're into Lua:
```lua ```lua
Updates = phone.setCallRating({peer=InputPhoneCall, rating=int, comment='string', }) Updates = phone.setCallRating({user_initiative=Bool, peer=InputPhoneCall, rating=int, comment='string', })
``` ```
### Errors this method can return: ### Errors this method can return:

View File

@ -0,0 +1,20 @@
---
title: AutoDownloadSettings
description: constructors and methods of type AutoDownloadSettings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: AutoDownloadSettings
[Back to types index](index.md)
### Possible values (constructors):
[autoDownloadSettings](../constructors/autoDownloadSettings.md)
### Methods that return an object of this type (methods):

View File

@ -0,0 +1,22 @@
---
title: EmojiKeyword
description: constructors and methods of type EmojiKeyword
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: EmojiKeyword
[Back to types index](index.md)
### Possible values (constructors):
[emojiKeyword](../constructors/emojiKeyword.md)
[emojiKeywordDeleted](../constructors/emojiKeywordDeleted.md)
### Methods that return an object of this type (methods):

View File

@ -0,0 +1,24 @@
---
title: EmojiKeywordsDifference
description: constructors and methods of type EmojiKeywordsDifference
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: EmojiKeywordsDifference
[Back to types index](index.md)
### Possible values (constructors):
[emojiKeywordsDifference](../constructors/emojiKeywordsDifference.md)
### Methods that return an object of this type (methods):
[$MadelineProto->messages->getEmojiKeywords](../methods/messages_getEmojiKeywords.md)
[$MadelineProto->messages->getEmojiKeywordsDifference](../methods/messages_getEmojiKeywordsDifference.md)

View File

@ -0,0 +1,22 @@
---
title: EmojiURL
description: constructors and methods of type EmojiURL
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: EmojiURL
[Back to types index](index.md)
### Possible values (constructors):
[emojiURL](../constructors/emojiURL.md)
### Methods that return an object of this type (methods):
[$MadelineProto->messages->getEmojiURL](../methods/messages_getEmojiURL.md)

View File

@ -18,10 +18,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[inputPrivacyKeyPhoneP2P](../constructors/inputPrivacyKeyPhoneP2P.md) [inputPrivacyKeyPhoneP2P](../constructors/inputPrivacyKeyPhoneP2P.md)
[inputPrivacyKeyProfilePhoto](../constructors/inputPrivacyKeyProfilePhoto.md)
[inputPrivacyKeyForwards](../constructors/inputPrivacyKeyForwards.md) [inputPrivacyKeyForwards](../constructors/inputPrivacyKeyForwards.md)
[inputPrivacyKeyProfilePhoto](../constructors/inputPrivacyKeyProfilePhoto.md)
### Methods that return an object of this type (methods): ### Methods that return an object of this type (methods):

View File

@ -20,6 +20,10 @@ Describes available privacy settings
[privacyKeyPhoneP2P](../constructors/privacyKeyPhoneP2P.md) [privacyKeyPhoneP2P](../constructors/privacyKeyPhoneP2P.md)
[privacyKeyForwards](../constructors/privacyKeyForwards.md)
[privacyKeyProfilePhoto](../constructors/privacyKeyProfilePhoto.md)
### Methods that return an object of this type (methods): ### Methods that return an object of this type (methods):

View File

@ -0,0 +1,22 @@
---
title: account_AutoDownloadSettings
description: constructors and methods of type account_AutoDownloadSettings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: account\_AutoDownloadSettings
[Back to types index](index.md)
### Possible values (constructors):
[account\_autoDownloadSettings](../constructors/account_autoDownloadSettings.md)
### Methods that return an object of this type (methods):
[$MadelineProto->account->getAutoDownloadSettings](../methods/account_getAutoDownloadSettings.md)

View File

@ -13,6 +13,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[Authorization](Authorization.md)<a name="Authorization"></a> [Authorization](Authorization.md)<a name="Authorization"></a>
[AutoDownloadSettings](AutoDownloadSettings.md)<a name="AutoDownloadSettings"></a>
[Bool](Bool.md)<a name="Bool"></a> [Bool](Bool.md)<a name="Bool"></a>
[BotCommand](BotCommand.md)<a name="BotCommand"></a> [BotCommand](BotCommand.md)<a name="BotCommand"></a>
@ -93,6 +95,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[DraftMessage](DraftMessage.md)<a name="DraftMessage"></a> [DraftMessage](DraftMessage.md)<a name="DraftMessage"></a>
[EmojiKeyword](EmojiKeyword.md)<a name="EmojiKeyword"></a>
[EmojiKeywordsDifference](EmojiKeywordsDifference.md)<a name="EmojiKeywordsDifference"></a>
[EmojiURL](EmojiURL.md)<a name="EmojiURL"></a>
[EncryptedChat](EncryptedChat.md)<a name="EncryptedChat"></a> [EncryptedChat](EncryptedChat.md)<a name="EncryptedChat"></a>
[EncryptedFile](EncryptedFile.md)<a name="EncryptedFile"></a> [EncryptedFile](EncryptedFile.md)<a name="EncryptedFile"></a>
@ -377,6 +385,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[account\_Authorizations](account_Authorizations.md)<a name="account_Authorizations"></a> [account\_Authorizations](account_Authorizations.md)<a name="account_Authorizations"></a>
[account\_AutoDownloadSettings](account_AutoDownloadSettings.md)<a name="account_AutoDownloadSettings"></a>
[account\_Password](account_Password.md)<a name="account_Password"></a> [account\_Password](account_Password.md)<a name="account_Password"></a>
[account\_PasswordInputSettings](account_PasswordInputSettings.md)<a name="account_PasswordInputSettings"></a> [account\_PasswordInputSettings](account_PasswordInputSettings.md)<a name="account_PasswordInputSettings"></a>

View File

@ -7,7 +7,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
There are simplifications for many, if not all of, these methods. There are simplifications for many, if not all of, these methods.
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 95)](https://docs.madelineproto.xyz/API_docs/). A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 97)](https://docs.madelineproto.xyz/API_docs/).
* [FULL API Documentation with descriptions](https://docs.madelineproto.xyz/API_docs/methods/) * [FULL API Documentation with descriptions](https://docs.madelineproto.xyz/API_docs/methods/)
* [Peers](#peers) * [Peers](#peers)

View File

@ -227,6 +227,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_getAdminedPublicChannels.html" name="channels_getAdminedPublicChannels">Get all supergroups/channels where you're admin: channels.getAdminedPublicChannels</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_getAdminedPublicChannels.html" name="channels_getAdminedPublicChannels">Get all supergroups/channels where you're admin: channels.getAdminedPublicChannels</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getMessagesViews.html" name="messages_getMessagesViews">Get and increase message views: messages.getMessagesViews</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getMessagesViews.html" name="messages_getMessagesViews">Get and increase message views: messages.getMessagesViews</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/help_getAppConfig.html" name="help_getAppConfig">Get app config: help.getAppConfig</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/help_getAppConfig.html" name="help_getAppConfig">Get app config: help.getAppConfig</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_getAutoDownloadSettings.html" name="account_getAutoDownloadSettings">Get autodownload settings: account.getAutoDownloadSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/langpack_getLanguages.html" name="langpack_getLanguages">Get available languages: langpack.getLanguages</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/langpack_getLanguages.html" name="langpack_getLanguages">Get available languages: langpack.getLanguages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_getBlocked.html" name="contacts_getBlocked">Get blocked users: contacts.getBlocked</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_getBlocked.html" name="contacts_getBlocked">Get blocked users: contacts.getBlocked</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration: phone.getCallConfig</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration: phone.getCallConfig</a>
@ -238,6 +239,9 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getPeerDialogs.html" name="messages_getPeerDialogs">Get dialog info of peers: messages.getPeerDialogs</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getPeerDialogs.html" name="messages_getPeerDialogs">Get dialog info of peers: messages.getPeerDialogs</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getDialogUnreadMarks.html" name="messages_getDialogUnreadMarks">Get dialogs marked as unread manually: messages.getDialogUnreadMarks</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getDialogUnreadMarks.html" name="messages_getDialogUnreadMarks">Get dialogs marked as unread manually: messages.getDialogUnreadMarks</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash: messages.getDocumentByHash</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash: messages.getDocumentByHash</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getEmojiURL.html" name="messages_getEmojiURL">Get emoji URL: messages.getEmojiURL</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getEmojiKeywordsDifference.html" name="messages_getEmojiKeywordsDifference">Get emoji keyword difference: messages.getEmojiKeywordsDifference</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getEmojiKeywords.html" name="messages_getEmojiKeywords">Get emoji keywords: messages.getEmojiKeywords</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getFavedStickers.html" name="messages_getFavedStickers">Get favorite stickers: messages.getFavedStickers</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getFavedStickers.html" name="messages_getFavedStickers">Get favorite stickers: messages.getFavedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getInlineGameHighScores.html" name="messages_getInlineGameHighScores">Get high scores of a game sent in an inline message: messages.getInlineGameHighScores</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_getInlineGameHighScores.html" name="messages_getInlineGameHighScores">Get high scores of a game sent in an inline message: messages.getInlineGameHighScores</a>
@ -344,6 +348,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_getWallPapers.html" name="account_getWallPapers">Returns a list of available wallpapers.: account.getWallPapers</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/account_getWallPapers.html" name="account_getWallPapers">Returns a list of available wallpapers.: account.getWallPapers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_saveGif.html" name="messages_saveGif">Save a GIF: messages.saveGif</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_saveGif.html" name="messages_saveGif">Save a GIF: messages.saveGif</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_saveDraft.html" name="messages_saveDraft">Save a message draft: messages.saveDraft</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_saveDraft.html" name="messages_saveDraft">Save a message draft: messages.saveDraft</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_saveAutoDownloadSettings.html" name="account_saveAutoDownloadSettings">Save autodownload settings: account.saveAutoDownloadSettings</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info: phone.saveCallDebug</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info: phone.saveCallDebug</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_saveSecureValue.html" name="account_saveSecureValue">Save telegram passport secure value: account.saveSecureValue</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/account_saveSecureValue.html" name="account_saveSecureValue">Save telegram passport secure value: account.saveSecureValue</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_saveWallPaper.html" name="account_saveWallPaper">Save wallpaper: account.saveWallPaper</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/account_saveWallPaper.html" name="account_saveWallPaper">Save wallpaper: account.saveWallPaper</a>
@ -382,7 +387,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message (private chat only): messages.updatePinnedMessage</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message: messages.updatePinnedMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel: channels.updateUsername</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel: channels.updateUsername</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateUsername.html" name="account_updateUsername">Update this user's username: account.updateUsername</a> * <a href="https://docs.madelineproto.xyz/API_docs/methods/account_updateUsername.html" name="account_updateUsername">Update this user's username: account.updateUsername</a>

View File

@ -498,7 +498,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a> * <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
* <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message (private chat only): messages.updatePinnedMessage</a> * <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message: messages.updatePinnedMessage</a>
* <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a> * <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a>

View File

@ -1,13 +1,13 @@
--- ---
title: messages.updatePinnedMessage title: messages.updatePinnedMessage
description: Update pinned message (private chat only) description: Update pinned message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
--- ---
# Method: messages.updatePinnedMessage # Method: messages.updatePinnedMessage
[Back to methods index](index.md) [Back to methods index](index.md)
Update pinned message (private chat only) Update pinned message
### Parameters: ### Parameters:

View File

@ -510,7 +510,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a> * <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
* <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message (private chat only): messages.updatePinnedMessage</a> * <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message: messages.updatePinnedMessage</a>
* <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a> * <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a>

View File

@ -1,13 +1,13 @@
--- ---
title: messages.updatePinnedMessage title: messages.updatePinnedMessage
description: Update pinned message (private chat only) description: Update pinned message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
--- ---
# Method: messages.updatePinnedMessage # Method: messages.updatePinnedMessage
[Back to methods index](index.md) [Back to methods index](index.md)
Update pinned message (private chat only) Update pinned message
### Parameters: ### Parameters:

View File

@ -0,0 +1,15 @@
---
title: MadelineProto API documentation (layer v95)
description: MadelineProto API documentation (layer v95)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# MadelineProto API documentation (layer v95)
[Back to main documentation](..)
[Methods](methods/)
[Constructors](constructors/)
[Types](types/)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,40 @@
---
title: accessPointRule
description: Access point rule
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: accessPointRule
[Back to constructors index](index.md)
Access point rule
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_prefix\_rules|[string](../types/string.md) | Yes|Phone prefix rules|
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|ips|Array of [IpPort](../types/IpPort.md) | Yes|Ips|
### Type: [AccessPointRule](../types/AccessPointRule.md)
### Example:
```php
$accessPointRule = ['_' => 'accessPointRule', 'phone_prefix_rules' => 'string', 'dc_id' => int, 'ips' => [IpPort, IpPort]];
```
Or, if you're into Lua:
```lua
accessPointRule={_='accessPointRule', phone_prefix_rules='string', dc_id=int, ips={IpPort}}
```

View File

@ -0,0 +1,38 @@
---
title: accountDaysTTL
description: Account TTL in days
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: accountDaysTTL
[Back to constructors index](index.md)
Account TTL in days
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|days|[int](../types/int.md) | Yes|Days|
### Type: [AccountDaysTTL](../types/AccountDaysTTL.md)
### Example:
```php
$accountDaysTTL = ['_' => 'accountDaysTTL', 'days' => int];
```
Or, if you're into Lua:
```lua
accountDaysTTL={_='accountDaysTTL', days=int}
```

View File

@ -0,0 +1,42 @@
---
title: account.authorizationForm
description: Telegram passport authorization form
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.authorizationForm
[Back to constructors index](index.md)
Telegram passport authorization form
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|required\_types|Array of [SecureRequiredType](../types/SecureRequiredType.md) | Yes|Required types|
|values|Array of [SecureValue](../types/SecureValue.md) | Yes|Values|
|errors|Array of [SecureValueError](../types/SecureValueError.md) | Yes|Errors|
|users|Array of [User](../types/User.md) | Yes|Users|
|privacy\_policy\_url|[string](../types/string.md) | Optional|Privacy policy URL|
### Type: [account\_AuthorizationForm](../types/account_AuthorizationForm.md)
### Example:
```php
$account_authorizationForm = ['_' => 'account.authorizationForm', 'required_types' => [SecureRequiredType, SecureRequiredType], 'values' => [SecureValue, SecureValue], 'errors' => [SecureValueError, SecureValueError], 'users' => [User, User], 'privacy_policy_url' => 'string'];
```
Or, if you're into Lua:
```lua
account_authorizationForm={_='account.authorizationForm', required_types={SecureRequiredType}, values={SecureValue}, errors={SecureValueError}, users={User}, privacy_policy_url='string'}
```

View File

@ -0,0 +1,38 @@
---
title: account.authorizations
description: Authorized clients for this account
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.authorizations
[Back to constructors index](index.md)
Authorized clients for this account
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|authorizations|Array of [Authorization](../types/Authorization.md) | Yes|Authorizations|
### Type: [account\_Authorizations](../types/account_Authorizations.md)
### Example:
```php
$account_authorizations = ['_' => 'account.authorizations', 'authorizations' => [Authorization, Authorization]];
```
Or, if you're into Lua:
```lua
account_authorizations={_='account.authorizations', authorizations={Authorization}}
```

View File

@ -0,0 +1,48 @@
---
title: account.password
description: Password
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.password
[Back to constructors index](index.md)
Password
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|has\_recovery|[Bool](../types/Bool.md) | Optional|Has recovery?|
|has\_secure\_values|[Bool](../types/Bool.md) | Optional|Has secure values?|
|has\_password|[Bool](../types/Bool.md) | Optional|Has password?|
|current\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|Current algo|
|srp\_B|[bytes](../types/bytes.md) | Optional|Srp b|
|srp\_id|[long](../types/long.md) | Optional|Srp ID|
|hint|[string](../types/string.md) | Optional|Hint|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Optional|Email unconfirmed pattern|
|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Yes|New algo|
|new\_secure\_algo|[SecurePasswordKdfAlgo](../types/SecurePasswordKdfAlgo.md) | Yes|New secure algo|
|secure\_random|[bytes](../types/bytes.md) | Yes|Secure random|
### Type: [account\_Password](../types/account_Password.md)
### Example:
```php
$account_password = ['_' => 'account.password', 'has_recovery' => Bool, 'has_secure_values' => Bool, 'has_password' => Bool, 'current_algo' => PasswordKdfAlgo, 'srp_B' => 'bytes', 'srp_id' => long, 'hint' => 'string', 'email_unconfirmed_pattern' => 'string', 'new_algo' => PasswordKdfAlgo, 'new_secure_algo' => SecurePasswordKdfAlgo, 'secure_random' => 'bytes'];
```
Or, if you're into Lua:
```lua
account_password={_='account.password', has_recovery=Bool, has_secure_values=Bool, has_password=Bool, current_algo=PasswordKdfAlgo, srp_B='bytes', srp_id=long, hint='string', email_unconfirmed_pattern='string', new_algo=PasswordKdfAlgo, new_secure_algo=SecurePasswordKdfAlgo, secure_random='bytes'}
```

View File

@ -0,0 +1,42 @@
---
title: account.passwordInputSettings
description: 2FA password settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.passwordInputSettings
[Back to constructors index](index.md)
2FA password settings
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|new\_algo|[PasswordKdfAlgo](../types/PasswordKdfAlgo.md) | Optional|New algo|
|new\_password\_hash|[bytes](../types/bytes.md) | Optional|`hash('sha256', $new_salt.$new_password.$new_salt, true)`|
|hint|[string](../types/string.md) | Optional|Hint|
|email|[string](../types/string.md) | Optional|Email|
|new\_secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|New secure settings|
### Type: [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md)
### Example:
```php
$account_passwordInputSettings = ['_' => 'account.passwordInputSettings', 'new_algo' => PasswordKdfAlgo, 'new_password_hash' => 'bytes', 'hint' => 'string', 'email' => 'string', 'new_secure_settings' => SecureSecretSettings];
```
Or, if you're into Lua:
```lua
account_passwordInputSettings={_='account.passwordInputSettings', new_algo=PasswordKdfAlgo, new_password_hash='bytes', hint='string', email='string', new_secure_settings=SecureSecretSettings}
```

View File

@ -0,0 +1,39 @@
---
title: account.passwordSettings
description: Password settings
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.passwordSettings
[Back to constructors index](index.md)
Password settings
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|email|[string](../types/string.md) | Optional|Email|
|secure\_settings|[SecureSecretSettings](../types/SecureSecretSettings.md) | Optional|Secure settings|
### Type: [account\_PasswordSettings](../types/account_PasswordSettings.md)
### Example:
```php
$account_passwordSettings = ['_' => 'account.passwordSettings', 'email' => 'string', 'secure_settings' => SecureSecretSettings];
```
Or, if you're into Lua:
```lua
account_passwordSettings={_='account.passwordSettings', email='string', secure_settings=SecureSecretSettings}
```

View File

@ -0,0 +1,39 @@
---
title: account.privacyRules
description: Privacy rules
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.privacyRules
[Back to constructors index](index.md)
Privacy rules
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|Rules|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
### Example:
```php
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule, PrivacyRule], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}}
```

View File

@ -0,0 +1,39 @@
---
title: account.sentEmailCode
description: Sent email code
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.sentEmailCode
[Back to constructors index](index.md)
Sent email code
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|email\_pattern|[string](../types/string.md) | Yes|Email pattern|
|length|[int](../types/int.md) | Yes|Length|
### Type: [account\_SentEmailCode](../types/account_SentEmailCode.md)
### Example:
```php
$account_sentEmailCode = ['_' => 'account.sentEmailCode', 'email_pattern' => 'string', 'length' => int];
```
Or, if you're into Lua:
```lua
account_sentEmailCode={_='account.sentEmailCode', email_pattern='string', length=int}
```

View File

@ -0,0 +1,38 @@
---
title: account.takeout
description: Takeout
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.takeout
[Back to constructors index](index.md)
Takeout
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|ID|
### Type: [account\_Takeout](../types/account_Takeout.md)
### Example:
```php
$account_takeout = ['_' => 'account.takeout', 'id' => long];
```
Or, if you're into Lua:
```lua
account_takeout={_='account.takeout', id=long}
```

View File

@ -0,0 +1,39 @@
---
title: account.tmpPassword
description: Tmp password
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.tmpPassword
[Back to constructors index](index.md)
Tmp password
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|tmp\_password|[bytes](../types/bytes.md) | Yes|Tmp password|
|valid\_until|[int](../types/int.md) | Yes|Valid until|
### Type: [account\_TmpPassword](../types/account_TmpPassword.md)
### Example:
```php
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => 'bytes', 'valid_until' => int];
```
Or, if you're into Lua:
```lua
account_tmpPassword={_='account.tmpPassword', tmp_password='bytes', valid_until=int}
```

View File

@ -0,0 +1,39 @@
---
title: account.wallPapers
description: Wallpapers
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.wallPapers
[Back to constructors index](index.md)
Wallpapers
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|hash|[int](../types/int.md) | Yes|Hash|
|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers|
### Type: [account\_WallPapers](../types/account_WallPapers.md)
### Example:
```php
$account_wallPapers = ['_' => 'account.wallPapers', 'hash' => int, 'wallpapers' => [WallPaper, WallPaper]];
```
Or, if you're into Lua:
```lua
account_wallPapers={_='account.wallPapers', hash=int, wallpapers={WallPaper}}
```

View File

@ -0,0 +1,33 @@
---
title: account.wallPapersNotModified
description: No wallpapers were modified
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.wallPapersNotModified
[Back to constructors index](index.md)
No wallpapers were modified
### Type: [account\_WallPapers](../types/account_WallPapers.md)
### Example:
```php
$account_wallPapersNotModified = ['_' => 'account.wallPapersNotModified'];
```
Or, if you're into Lua:
```lua
account_wallPapersNotModified={_='account.wallPapersNotModified'}
```

View File

@ -0,0 +1,39 @@
---
title: account.webAuthorizations
description: Telegram login authorizations
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: account.webAuthorizations
[Back to constructors index](index.md)
Telegram login authorizations
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|authorizations|Array of [WebAuthorization](../types/WebAuthorization.md) | Yes|Authorizations|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [account\_WebAuthorizations](../types/account_WebAuthorizations.md)
### Example:
```php
$account_webAuthorizations = ['_' => 'account.webAuthorizations', 'authorizations' => [WebAuthorization, WebAuthorization], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
account_webAuthorizations={_='account.webAuthorizations', authorizations={WebAuthorization}, users={User}}
```

View File

@ -0,0 +1,39 @@
---
title: auth.authorization
description: Authorization
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.authorization
[Back to constructors index](index.md)
Authorization
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|tmp\_sessions|[int](../types/int.md) | Optional|Temporary sessions|
|user|[User](../types/User.md) | Optional|User|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
### Example:
```php
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];
```
Or, if you're into Lua:
```lua
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User}
```

View File

@ -0,0 +1,38 @@
---
title: auth.checkedPhone
description: Checked phone
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.checkedPhone
[Back to constructors index](index.md)
Checked phone
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_registered|[Bool](../types/Bool.md) | Yes|Phone registered?|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### Example:
```php
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool];
```
Or, if you're into Lua:
```lua
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool}
```

View File

@ -0,0 +1,33 @@
---
title: auth.codeTypeCall
description: Auth code type: call
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.codeTypeCall
[Back to constructors index](index.md)
Auth code type: call
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```php
$auth_codeTypeCall = ['_' => 'auth.codeTypeCall'];
```
Or, if you're into Lua:
```lua
auth_codeTypeCall={_='auth.codeTypeCall'}
```

View File

@ -0,0 +1,33 @@
---
title: auth.codeTypeFlashCall
description: Auth code type: flash call
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.codeTypeFlashCall
[Back to constructors index](index.md)
Auth code type: flash call
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```php
$auth_codeTypeFlashCall = ['_' => 'auth.codeTypeFlashCall'];
```
Or, if you're into Lua:
```lua
auth_codeTypeFlashCall={_='auth.codeTypeFlashCall'}
```

View File

@ -0,0 +1,33 @@
---
title: auth.codeTypeSms
description: Auth code type: SMS
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.codeTypeSms
[Back to constructors index](index.md)
Auth code type: SMS
### Type: [auth\_CodeType](../types/auth_CodeType.md)
### Example:
```php
$auth_codeTypeSms = ['_' => 'auth.codeTypeSms'];
```
Or, if you're into Lua:
```lua
auth_codeTypeSms={_='auth.codeTypeSms'}
```

View File

@ -0,0 +1,39 @@
---
title: auth.exportedAuthorization
description: Exported authorization
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.exportedAuthorization
[Back to constructors index](index.md)
Exported authorization
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[int](../types/int.md) | Yes|ID|
|bytes|[bytes](../types/bytes.md) | Yes|Bytes|
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
### Example:
```php
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => 'bytes'];
```
Or, if you're into Lua:
```lua
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes='bytes'}
```

View File

@ -0,0 +1,38 @@
---
title: auth.passwordRecovery
description: Password recovery
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.passwordRecovery
[Back to constructors index](index.md)
Password recovery
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|email\_pattern|[string](../types/string.md) | Yes|Email pattern|
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
### Example:
```php
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];
```
Or, if you're into Lua:
```lua
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}
```

View File

@ -0,0 +1,43 @@
---
title: auth.sentCode
description: Sent code
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.sentCode
[Back to constructors index](index.md)
Sent code
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_registered|[Bool](../types/Bool.md) | Optional|Phone registered?|
|type|[auth\_SentCodeType](../types/auth_SentCodeType.md) | Yes|Type|
|phone\_code\_hash|[string](../types/string.md) | Yes|Phone code hash|
|next\_type|[auth\_CodeType](../types/auth_CodeType.md) | Optional|Next type|
|timeout|[int](../types/int.md) | Optional|Timeout|
|terms\_of\_service|[help\_TermsOfService](../types/help_TermsOfService.md) | Optional|Terms of service|
### Type: [auth\_SentCode](../types/auth_SentCode.md)
### Example:
```php
$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => 'string', 'next_type' => auth_CodeType, 'timeout' => int, 'terms_of_service' => help_TermsOfService];
```
Or, if you're into Lua:
```lua
auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash='string', next_type=auth_CodeType, timeout=int, terms_of_service=help_TermsOfService}
```

View File

@ -0,0 +1,38 @@
---
title: auth.sentCodeTypeApp
description: Sent code type app
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.sentCodeTypeApp
[Back to constructors index](index.md)
Sent code type app
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|length|[int](../types/int.md) | Yes|Length|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```php
$auth_sentCodeTypeApp = ['_' => 'auth.sentCodeTypeApp', 'length' => int];
```
Or, if you're into Lua:
```lua
auth_sentCodeTypeApp={_='auth.sentCodeTypeApp', length=int}
```

View File

@ -0,0 +1,38 @@
---
title: auth.sentCodeTypeCall
description: Sent code type call
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.sentCodeTypeCall
[Back to constructors index](index.md)
Sent code type call
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|length|[int](../types/int.md) | Yes|Length|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```php
$auth_sentCodeTypeCall = ['_' => 'auth.sentCodeTypeCall', 'length' => int];
```
Or, if you're into Lua:
```lua
auth_sentCodeTypeCall={_='auth.sentCodeTypeCall', length=int}
```

View File

@ -0,0 +1,38 @@
---
title: auth.sentCodeTypeFlashCall
description: Sent code type flash call
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.sentCodeTypeFlashCall
[Back to constructors index](index.md)
Sent code type flash call
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|pattern|[string](../types/string.md) | Yes|Pattern|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```php
$auth_sentCodeTypeFlashCall = ['_' => 'auth.sentCodeTypeFlashCall', 'pattern' => 'string'];
```
Or, if you're into Lua:
```lua
auth_sentCodeTypeFlashCall={_='auth.sentCodeTypeFlashCall', pattern='string'}
```

View File

@ -0,0 +1,38 @@
---
title: auth.sentCodeTypeSms
description: Sent code type sms
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: auth.sentCodeTypeSms
[Back to constructors index](index.md)
Sent code type sms
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|length|[int](../types/int.md) | Yes|Length|
### Type: [auth\_SentCodeType](../types/auth_SentCodeType.md)
### Example:
```php
$auth_sentCodeTypeSms = ['_' => 'auth.sentCodeTypeSms', 'length' => int];
```
Or, if you're into Lua:
```lua
auth_sentCodeTypeSms={_='auth.sentCodeTypeSms', length=int}
```

View File

@ -0,0 +1,52 @@
---
title: authorization
description: Authorization
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: authorization
[Back to constructors index](index.md)
Authorization
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|current|[Bool](../types/Bool.md) | Optional|Current?|
|official\_app|[Bool](../types/Bool.md) | Optional|Official app?|
|password\_pending|[Bool](../types/Bool.md) | Optional|Password pending?|
|hash|[long](../types/long.md) | Yes|Hash|
|device\_model|[string](../types/string.md) | Yes|Device model|
|platform|[string](../types/string.md) | Yes|Platform|
|system\_version|[string](../types/string.md) | Yes|System version|
|api\_id|[int](../types/int.md) | Yes|Api ID|
|app\_name|[string](../types/string.md) | Yes|App name|
|app\_version|[string](../types/string.md) | Yes|App version|
|date\_created|[int](../types/int.md) | Yes|Date created|
|date\_active|[int](../types/int.md) | Yes|Date active|
|ip|[string](../types/string.md) | Yes|Ip|
|country|[string](../types/string.md) | Yes|Country|
|region|[string](../types/string.md) | Yes|Region|
### Type: [Authorization](../types/Authorization.md)
### Example:
```php
$authorization = ['_' => 'authorization', 'current' => Bool, 'official_app' => Bool, 'password_pending' => Bool, 'hash' => long, 'device_model' => 'string', 'platform' => 'string', 'system_version' => 'string', 'api_id' => int, 'app_name' => 'string', 'app_version' => 'string', 'date_created' => int, 'date_active' => int, 'ip' => 'string', 'country' => 'string', 'region' => 'string'];
```
Or, if you're into Lua:
```lua
authorization={_='authorization', current=Bool, official_app=Bool, password_pending=Bool, hash=long, device_model='string', platform='string', system_version='string', api_id=int, app_name='string', app_version='string', date_created=int, date_active=int, ip='string', country='string', region='string'}
```

View File

@ -0,0 +1,9 @@
---
title: boolFalse
description: Represents a boolean with value equal to false
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# boolFalse
[Back to constructor index](index.md)
Represents a boolean with value equal to `false`.

View File

@ -0,0 +1,9 @@
---
title: boolTrue
description: Represents a boolean with value equal to true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# boolTrue
[Back to constructor index](index.md)
Represents a boolean with value equal to `true`.

View File

@ -0,0 +1,39 @@
---
title: botCommand
description: Bot command
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botCommand
[Back to constructors index](index.md)
Bot command
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|command|[string](../types/string.md) | Yes|Command|
|description|[string](../types/string.md) | Yes|Description|
### Type: [BotCommand](../types/BotCommand.md)
### Example:
```php
$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];
```
Or, if you're into Lua:
```lua
botCommand={_='botCommand', command='string', description='string'}
```

View File

@ -0,0 +1,40 @@
---
title: botInfo
description: Bot info
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInfo
[Back to constructors index](index.md)
Bot info
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User ID|
|description|[string](../types/string.md) | Yes|Description|
|commands|Array of [BotCommand](../types/BotCommand.md) | Yes|Commands|
### Type: [BotInfo](../types/BotInfo.md)
### Example:
```php
$botInfo = ['_' => 'botInfo', 'user_id' => int, 'description' => 'string', 'commands' => [BotCommand, BotCommand]];
```
Or, if you're into Lua:
```lua
botInfo={_='botInfo', user_id=int, description='string', commands={BotCommand}}
```

View File

@ -0,0 +1,44 @@
---
title: botInlineMediaResult
description: Bot inline media result
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMediaResult
[Back to constructors index](index.md)
Bot inline media result
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[string](../types/string.md) | Yes|ID|
|type|[string](../types/string.md) | Yes|Type|
|photo|[Photo](../types/Photo.md) | Optional|Photo|
|document|[Document](../types/Document.md) | Optional|Document|
|title|[string](../types/string.md) | Optional|Title|
|description|[string](../types/string.md) | Optional|Description|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|Send message|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```php
$botInlineMediaResult = ['_' => 'botInlineMediaResult', 'id' => 'string', 'type' => 'string', 'photo' => Photo, 'document' => Document, 'title' => 'string', 'description' => 'string', 'send_message' => BotInlineMessage];
```
Or, if you're into Lua:
```lua
botInlineMediaResult={_='botInlineMediaResult', id='string', type='string', photo=Photo, document=Document, title='string', description='string', send_message=BotInlineMessage}
```

View File

@ -0,0 +1,46 @@
---
title: botInlineMessageMediaAuto
description: Bot inline message media auto
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMessageMediaAuto
[Back to constructors index](index.md)
Bot inline message media auto
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|message|[string](../types/string.md) | Yes|Message|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```php
$botInlineMessageMediaAuto = ['_' => 'botInlineMessageMediaAuto', 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
```
Or, if you're into Lua:
```lua
botInlineMessageMediaAuto={_='botInlineMessageMediaAuto', message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,48 @@
---
title: botInlineMessageMediaContact
description: Bot inline message media contact
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMessageMediaContact
[Back to constructors index](index.md)
Bot inline message media contact
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_number|[string](../types/string.md) | Yes|Phone number|
|first\_name|[string](../types/string.md) | Yes|First name|
|last\_name|[string](../types/string.md) | Yes|Last name|
|vcard|[string](../types/string.md) | Yes|Vcard|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```php
$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup];
```
Or, if you're into Lua:
```lua
botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,46 @@
---
title: botInlineMessageMediaGeo
description: Bot inline message media geo
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMessageMediaGeo
[Back to constructors index](index.md)
Bot inline message media geo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|Geo|
|period|[int](../types/int.md) | Yes|Period|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```php
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
```
Or, if you're into Lua:
```lua
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, period=int, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,50 @@
---
title: botInlineMessageMediaVenue
description: Bot inline message media venue
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMessageMediaVenue
[Back to constructors index](index.md)
Bot inline message media venue
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo|[GeoPoint](../types/GeoPoint.md) | Optional|Geo|
|title|[string](../types/string.md) | Yes|Title|
|address|[string](../types/string.md) | Yes|Address|
|provider|[string](../types/string.md) | Yes|Provider|
|venue\_id|[string](../types/string.md) | Yes|Venue ID|
|venue\_type|[string](../types/string.md) | Yes|Venue type|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```php
$botInlineMessageMediaVenue = ['_' => 'botInlineMessageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string', 'reply_markup' => ReplyMarkup];
```
Or, if you're into Lua:
```lua
botInlineMessageMediaVenue={_='botInlineMessageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,47 @@
---
title: botInlineMessageText
description: Bot inline message text
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineMessageText
[Back to constructors index](index.md)
Bot inline message text
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|no\_webpage|[Bool](../types/Bool.md) | Optional|No webpage?|
|message|[string](../types/string.md) | Yes|Message|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|Entities|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|Reply markup|
### Type: [BotInlineMessage](../types/BotInlineMessage.md)
### Example:
```php
$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => 'string', 'entities' => [MessageEntity, MessageEntity], 'reply_markup' => ReplyMarkup];
```
Or, if you're into Lua:
```lua
botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message='string', entities={MessageEntity}, reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -0,0 +1,45 @@
---
title: botInlineResult
description: Bot inline result
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botInlineResult
[Back to constructors index](index.md)
Bot inline result
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[string](../types/string.md) | Yes|ID|
|type|[string](../types/string.md) | Yes|Type|
|title|[string](../types/string.md) | Optional|Title|
|description|[string](../types/string.md) | Optional|Description|
|url|[string](../types/string.md) | Optional|URL|
|thumb|[WebDocument](../types/WebDocument.md) | Optional|Thumbnailnail|
|content|[WebDocument](../types/WebDocument.md) | Optional|Content|
|send\_message|[BotInlineMessage](../types/BotInlineMessage.md) | Yes|Message to send|
### Type: [BotInlineResult](../types/BotInlineResult.md)
### Example:
```php
$botInlineResult = ['_' => 'botInlineResult', 'id' => 'string', 'type' => 'string', 'title' => 'string', 'description' => 'string', 'url' => 'string', 'thumb' => WebDocument, 'content' => WebDocument, 'send_message' => BotInlineMessage];
```
Or, if you're into Lua:
```lua
botInlineResult={_='botInlineResult', id='string', type='string', title='string', description='string', url='string', thumb=WebDocument, content=WebDocument, send_message=BotInlineMessage}
```

View File

@ -0,0 +1,38 @@
---
title: cdnConfig
description: CDN configuration
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: cdnConfig
[Back to constructors index](index.md)
CDN configuration
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|public\_keys|Array of [CdnPublicKey](../types/CdnPublicKey.md) | Yes|Public keys|
### Type: [CdnConfig](../types/CdnConfig.md)
### Example:
```php
$cdnConfig = ['_' => 'cdnConfig', 'public_keys' => [CdnPublicKey, CdnPublicKey]];
```
Or, if you're into Lua:
```lua
cdnConfig={_='cdnConfig', public_keys={CdnPublicKey}}
```

View File

@ -0,0 +1,39 @@
---
title: cdnPublicKey
description: Cdn public key
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: cdnPublicKey
[Back to constructors index](index.md)
Cdn public key
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|public\_key|[string](../types/string.md) | Yes|Public key|
### Type: [CdnPublicKey](../types/CdnPublicKey.md)
### Example:
```php
$cdnPublicKey = ['_' => 'cdnPublicKey', 'dc_id' => int, 'public_key' => 'string'];
```
Or, if you're into Lua:
```lua
cdnPublicKey={_='cdnPublicKey', dc_id=int, public_key='string'}
```

View File

@ -0,0 +1,57 @@
---
title: channel
description: Channel
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channel
[Back to constructors index](index.md)
Channel
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|creator|[Bool](../types/Bool.md) | Optional|Creator?|
|left|[Bool](../types/Bool.md) | Optional|Left?|
|broadcast|[Bool](../types/Bool.md) | Optional|Broadcast?|
|verified|[Bool](../types/Bool.md) | Optional|Verified?|
|megagroup|[Bool](../types/Bool.md) | Optional|Megagroup?|
|restricted|[Bool](../types/Bool.md) | Optional|Restricted?|
|signatures|[Bool](../types/Bool.md) | Optional|Signatures?|
|min|[Bool](../types/Bool.md) | Optional|Min?|
|id|[int](../types/int.md) | Yes|ID|
|access\_hash|[long](../types/long.md) | Optional|Access hash|
|title|[string](../types/string.md) | Yes|Title|
|username|[string](../types/string.md) | Optional|Username|
|photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Photo|
|date|[int](../types/int.md) | Yes|Date|
|version|[int](../types/int.md) | Yes|Version|
|restriction\_reason|[string](../types/string.md) | Optional|Restriction reason|
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Optional|Admin rights of current user|
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional|Banned rights of current user|
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional|Global chat banned rights|
|participants\_count|[int](../types/int.md) | Optional|Participants count|
### Type: [Chat](../types/Chat.md)
### Example:
```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];
```
Or, if you're into 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}
```

View File

@ -0,0 +1,41 @@
---
title: channelAdminLogEvent
description: Channel admin log event
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEvent
[Back to constructors index](index.md)
Channel admin log event
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|id|[long](../types/long.md) | Yes|ID|
|date|[int](../types/int.md) | Yes|Date|
|user\_id|[int](../types/int.md) | Yes|User ID|
|action|[ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md) | Yes|Action|
### Type: [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)
### Example:
```php
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction];
```
Or, if you're into Lua:
```lua
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionChangeAbout
description: Change about text
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangeAbout
[Back to constructors index](index.md)
Change about text
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_value|[string](../types/string.md) | Yes|Previous value|
|new\_value|[string](../types/string.md) | Yes|New value|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => 'string', 'new_value' => 'string'];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionChangePhoto
description: Change photo
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangePhoto
[Back to constructors index](index.md)
Change photo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|Previous photo|
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Optional|New photo|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionChangeStickerSet
description: Change stickerset
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangeStickerSet
[Back to constructors index](index.md)
Change stickerset
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|Previous stickerset|
|new\_stickerset|[InputStickerSet](../types/InputStickerSet.md) | Optional|New stickerset|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionChangeStickerSet = ['_' => 'channelAdminLogEventActionChangeStickerSet', 'prev_stickerset' => InputStickerSet, 'new_stickerset' => InputStickerSet];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionChangeStickerSet={_='channelAdminLogEventActionChangeStickerSet', prev_stickerset=InputStickerSet, new_stickerset=InputStickerSet}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionChangeTitle
description: Change title
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangeTitle
[Back to constructors index](index.md)
Change title
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_value|[string](../types/string.md) | Yes|Previous value|
|new\_value|[string](../types/string.md) | Yes|New value|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => 'string', 'new_value' => 'string'];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionChangeUsername
description: Change username
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangeUsername
[Back to constructors index](index.md)
Change username
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_value|[string](../types/string.md) | Yes|Prev value|
|new\_value|[string](../types/string.md) | Yes|New value|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => 'string', 'new_value' => 'string'];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value='string', new_value='string'}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionDefaultBannedRights
description: Changed global chat rights
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionDefaultBannedRights
[Back to constructors index](index.md)
Changed global chat rights
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|Previous Banned rights of current user|
|new\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|New Banned rights of current user|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionDefaultBannedRights = ['_' => 'channelAdminLogEventActionDefaultBannedRights', 'prev_banned_rights' => ChatBannedRights, 'new_banned_rights' => ChatBannedRights];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionDefaultBannedRights={_='channelAdminLogEventActionDefaultBannedRights', prev_banned_rights=ChatBannedRights, new_banned_rights=ChatBannedRights}
```

View File

@ -0,0 +1,38 @@
---
title: channelAdminLogEventActionDeleteMessage
description: Delete message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionDeleteMessage
[Back to constructors index](index.md)
Delete message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|message|[Message](../types/Message.md) | Optional|Message|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionDeleteMessage = ['_' => 'channelAdminLogEventActionDeleteMessage', 'message' => Message];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionDeleteMessage={_='channelAdminLogEventActionDeleteMessage', message=Message}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionEditMessage
description: Edit message
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionEditMessage
[Back to constructors index](index.md)
Edit message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_message|[Message](../types/Message.md) | Optional|Prev message|
|new\_message|[Message](../types/Message.md) | Optional|New message|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message}
```

View File

@ -0,0 +1,38 @@
---
title: channelAdminLogEventActionParticipantInvite
description: Invite participant
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionParticipantInvite
[Back to constructors index](index.md)
Invite participant
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Participant|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionParticipantInvite = ['_' => 'channelAdminLogEventActionParticipantInvite', 'participant' => ChannelParticipant];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionParticipantInvite={_='channelAdminLogEventActionParticipantInvite', participant=ChannelParticipant}
```

View File

@ -0,0 +1,33 @@
---
title: channelAdminLogEventActionParticipantJoin
description: Joined participant
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionParticipantJoin
[Back to constructors index](index.md)
Joined participant
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionParticipantJoin = ['_' => 'channelAdminLogEventActionParticipantJoin'];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionParticipantJoin={_='channelAdminLogEventActionParticipantJoin'}
```

View File

@ -0,0 +1,33 @@
---
title: channelAdminLogEventActionParticipantLeave
description: Left participant
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionParticipantLeave
[Back to constructors index](index.md)
Left participant
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionParticipantLeave = ['_' => 'channelAdminLogEventActionParticipantLeave'];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionParticipantLeave={_='channelAdminLogEventActionParticipantLeave'}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionParticipantToggleAdmin
description: Admin toggled
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionParticipantToggleAdmin
[Back to constructors index](index.md)
Admin toggled
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Prev participant|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|New participant|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
```

View File

@ -0,0 +1,39 @@
---
title: channelAdminLogEventActionParticipantToggleBan
description: User banned
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionParticipantToggleBan
[Back to constructors index](index.md)
User banned
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|Prev participant|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|New participant|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant}
```

View File

@ -0,0 +1,38 @@
---
title: channelAdminLogEventActionStopPoll
description: Stopped poll
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionStopPoll
[Back to constructors index](index.md)
Stopped poll
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|message|[Message](../types/Message.md) | Optional|Message|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionStopPoll = ['_' => 'channelAdminLogEventActionStopPoll', 'message' => Message];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionStopPoll={_='channelAdminLogEventActionStopPoll', message=Message}
```

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