diff --git a/docs/API_docs/constructors/accessPointRule.md b/docs/API_docs/constructors/accessPointRule.md
deleted file mode 100644
index d95c3421..00000000
--- a/docs/API_docs/constructors/accessPointRule.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-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}}
-
-```
-
-
diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md
index 332a670e..9a95b610 100644
--- a/docs/API_docs/constructors/channelFull.md
+++ b/docs/API_docs/constructors/channelFull.md
@@ -45,6 +45,7 @@ Full info about a [channel/supergroup](https://core.telegram.org/api/channel)
|location|[ChannelLocation](../types/ChannelLocation.md) | Optional|Location of the geogroup|
|slowmode\_seconds|[int](../types/int.md) | Optional|If specified, users in supergroups will only be able to send one message every `slowmode_seconds` seconds|
|slowmode\_next\_send\_date|[int](../types/int.md) | Optional|Indicates when the user will be allowed to send another message in the supergroup (unixdate)|
+|stats\_dc|[int](../types/int.md) | Optional||
|pts|[int](../types/int.md) | Yes|Latest [PTS](https://core.telegram.org/api/updates) for this channel|
@@ -55,14 +56,14 @@ Full info about a [channel/supergroup](https://core.telegram.org/api/channel)
### Example:
```php
-$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => int, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'pts' => int];
+$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => int, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'stats_dc' => int, 'pts' => int];
```
Or, if you're into Lua:
```lua
-channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, can_set_location=Bool, has_scheduled=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int, folder_id=int, linked_chat_id=int, location=ChannelLocation, slowmode_seconds=int, slowmode_next_send_date=int, pts=int}
+channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, can_set_location=Bool, has_scheduled=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int, folder_id=int, linked_chat_id=int, location=ChannelLocation, slowmode_seconds=int, slowmode_next_send_date=int, stats_dc=int, pts=int}
```
diff --git a/docs/API_docs/constructors/dialogFilter.md b/docs/API_docs/constructors/dialogFilter.md
new file mode 100644
index 00000000..4f00bcc6
--- /dev/null
+++ b/docs/API_docs/constructors/dialogFilter.md
@@ -0,0 +1,49 @@
+---
+title: dialogFilter
+description: dialogFilter attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: dialogFilter
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|contacts|[Bool](../types/Bool.md) | Optional|
+|non\_contacts|[Bool](../types/Bool.md) | Optional|
+|groups|[Bool](../types/Bool.md) | Optional|
+|broadcasts|[Bool](../types/Bool.md) | Optional|
+|bots|[Bool](../types/Bool.md) | Optional|
+|exclude\_muted|[Bool](../types/Bool.md) | Optional|
+|exclude\_read|[Bool](../types/Bool.md) | Optional|
+|exclude\_archived|[Bool](../types/Bool.md) | Optional|
+|id|[int](../types/int.md) | Yes|
+|title|[string](../types/string.md) | Yes|
+|emoticon|[string](../types/string.md) | Optional|
+|pinned\_peers|Array of [InputPeer](../types/InputPeer.md) | Yes|
+|include\_peers|Array of [InputPeer](../types/InputPeer.md) | Yes|
+|exclude\_peers|Array of [InputPeer](../types/InputPeer.md) | Yes|
+
+
+
+### Type: [DialogFilter](../types/DialogFilter.md)
+
+
+### Example:
+
+```php
+$dialogFilter = ['_' => 'dialogFilter', 'contacts' => Bool, 'non_contacts' => Bool, 'groups' => Bool, 'broadcasts' => Bool, 'bots' => Bool, 'exclude_muted' => Bool, 'exclude_read' => Bool, 'exclude_archived' => Bool, 'id' => int, 'title' => 'string', 'emoticon' => 'string', 'pinned_peers' => [InputPeer, InputPeer], 'include_peers' => [InputPeer, InputPeer], 'exclude_peers' => [InputPeer, InputPeer]];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+dialogFilter={_='dialogFilter', contacts=Bool, non_contacts=Bool, groups=Bool, broadcasts=Bool, bots=Bool, exclude_muted=Bool, exclude_read=Bool, exclude_archived=Bool, id=int, title='string', emoticon='string', pinned_peers={InputPeer}, include_peers={InputPeer}, exclude_peers={InputPeer}}
+
+```
+
+
diff --git a/docs/API_docs/constructors/dialogFilterSuggested.md b/docs/API_docs/constructors/dialogFilterSuggested.md
new file mode 100644
index 00000000..699da582
--- /dev/null
+++ b/docs/API_docs/constructors/dialogFilterSuggested.md
@@ -0,0 +1,37 @@
+---
+title: dialogFilterSuggested
+description: dialogFilterSuggested attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: dialogFilterSuggested
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|filter|[DialogFilter](../types/DialogFilter.md) | Yes|
+|description|[string](../types/string.md) | Yes|
+
+
+
+### Type: [DialogFilterSuggested](../types/DialogFilterSuggested.md)
+
+
+### Example:
+
+```php
+$dialogFilterSuggested = ['_' => 'dialogFilterSuggested', 'filter' => DialogFilter, 'description' => 'string'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+dialogFilterSuggested={_='dialogFilterSuggested', filter=DialogFilter, description='string'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/help.configSimple.md b/docs/API_docs/constructors/help.configSimple.md
deleted file mode 100644
index 3eae1c9e..00000000
--- a/docs/API_docs/constructors/help.configSimple.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-title: help.configSimple
-description: Config simple
-image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
-redirect_from: /API_docs/constructors/help_configSimple.html
----
-# Constructor: help.configSimple
-[Back to constructors index](index.md)
-
-
-
-Config simple
-
-### Attributes:
-
-| Name | Type | Required | Description |
-|----------|---------------|----------|-------------|
-|date|[int](../types/int.md) | Yes|Date|
-|expires|[int](../types/int.md) | Yes|Expires|
-|rules|Array of [AccessPointRule](../types/AccessPointRule.md) | Yes|Rules|
-
-
-
-### Type: [help.ConfigSimple](../types/help.ConfigSimple.md)
-
-
-### Example:
-
-```php
-$help.configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'rules' => [AccessPointRule, AccessPointRule]];
-```
-
-
-Or, if you're into Lua:
-
-```lua
-help.configSimple={_='help.configSimple', date=int, expires=int, rules={AccessPointRule}}
-
-```
-
-
diff --git a/docs/API_docs/constructors/index.md b/docs/API_docs/constructors/index.md
index 32446692..a4a62a46 100644
--- a/docs/API_docs/constructors/index.md
+++ b/docs/API_docs/constructors/index.md
@@ -6,9 +6,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
# Constructors
[Back to API documentation index](..)
-***
-
[$accessPointRule](../constructors/accessPointRule.md) = \['phone_prefix_rules' => [string](../types/string.md), 'dc_id' => [int](../types/int.md), 'ips' => \[[IpPort](../types/IpPort.md)\], \];
-
***
[$account.authorizationForm](../constructors/account.authorizationForm.md) = \['required_types' => \[[SecureRequiredType](../types/SecureRequiredType.md)\], 'values' => \[[SecureValue](../types/SecureValue.md)\], 'errors' => \[[SecureValueError](../types/SecureValueError.md)\], 'users' => \[[User](../types/User.md)\], 'privacy_policy_url' => [string](../types/string.md), \];
@@ -244,7 +241,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'until_date' => [int](../types/int.md), \];
***
-
[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_stickers' => [Bool](../types/Bool.md), 'hidden_prehistory' => [Bool](../types/Bool.md), 'can_view_stats' => [Bool](../types/Bool.md), 'can_set_location' => [Bool](../types/Bool.md), 'has_scheduled' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'online_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), 'stickerset' => [StickerSet](../types/StickerSet.md), 'available_min_id' => [int](../types/int.md), 'folder_id' => [int](../types/int.md), 'linked_chat_id' => [int](../types/int.md), 'location' => [ChannelLocation](../types/ChannelLocation.md), 'slowmode_seconds' => [int](../types/int.md), 'slowmode_next_send_date' => [int](../types/int.md), 'pts' => [int](../types/int.md), \];
+
[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_stickers' => [Bool](../types/Bool.md), 'hidden_prehistory' => [Bool](../types/Bool.md), 'can_view_stats' => [Bool](../types/Bool.md), 'can_set_location' => [Bool](../types/Bool.md), 'has_scheduled' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'online_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), 'stickerset' => [StickerSet](../types/StickerSet.md), 'available_min_id' => [int](../types/int.md), 'folder_id' => [int](../types/int.md), 'linked_chat_id' => [int](../types/int.md), 'location' => [ChannelLocation](../types/ChannelLocation.md), 'slowmode_seconds' => [int](../types/int.md), 'slowmode_next_send_date' => [int](../types/int.md), 'stats_dc' => [int](../types/int.md), 'pts' => [int](../types/int.md), \];
***
[$channelLocation](../constructors/channelLocation.md) = \['geo_point' => [GeoPoint](../types/GeoPoint.md), 'address' => [string](../types/string.md), \];
@@ -495,6 +492,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$dialog](../constructors/dialog.md) = \['pinned' => [Bool](../types/Bool.md), 'unread_mark' => [Bool](../types/Bool.md), 'peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'unread_mentions_count' => [int](../types/int.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'pts' => [int](../types/int.md), 'draft' => [DraftMessage](../types/DraftMessage.md), 'folder_id' => [int](../types/int.md), \];
+***
+
[$dialogFilter](../constructors/dialogFilter.md) = \['contacts' => [Bool](../types/Bool.md), 'non_contacts' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'broadcasts' => [Bool](../types/Bool.md), 'bots' => [Bool](../types/Bool.md), 'exclude_muted' => [Bool](../types/Bool.md), 'exclude_read' => [Bool](../types/Bool.md), 'exclude_archived' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'emoticon' => [string](../types/string.md), 'pinned_peers' => \[[InputPeer](../types/InputPeer.md)\], 'include_peers' => \[[InputPeer](../types/InputPeer.md)\], 'exclude_peers' => \[[InputPeer](../types/InputPeer.md)\], \];
+
+***
+
[$dialogFilterSuggested](../constructors/dialogFilterSuggested.md) = \['filter' => [DialogFilter](../types/DialogFilter.md), 'description' => [string](../types/string.md), \];
+
***
[$dialogFolder](../constructors/dialogFolder.md) = \['pinned' => [Bool](../types/Bool.md), 'folder' => [Folder](../types/Folder.md), 'peer' => [Peer](../types/Peer.md), 'top_message' => [int](../types/int.md), 'unread_muted_peers_count' => [int](../types/int.md), 'unread_unmuted_peers_count' => [int](../types/int.md), 'unread_muted_messages_count' => [int](../types/int.md), 'unread_unmuted_messages_count' => [int](../types/int.md), \];
@@ -621,9 +624,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$help.appUpdate](../constructors/help.appUpdate.md) = \['can_not_skip' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'version' => [string](../types/string.md), 'text' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'document' => [Document](../types/Document.md), 'url' => [string](../types/string.md), \];
-***
-
[$help.configSimple](../constructors/help.configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'rules' => \[[AccessPointRule](../types/AccessPointRule.md)\], \];
-
***
[$help.deepLinkInfo](../constructors/help.deepLinkInfo.md) = \['update_app' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \];
@@ -807,6 +807,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$inputMediaContact](../constructors/inputMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'vcard' => [string](../types/string.md), \];
+***
+
[$inputMediaDice](../constructors/inputMediaDice.md) = \[\];
+
***
[$inputMediaDocument](../constructors/inputMediaDocument.md) = \['id' => [InputDocument](../types/InputDocument.md), 'ttl_seconds' => [int](../types/int.md), \];
@@ -1065,6 +1068,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$inputStickerSetAnimatedEmoji](../constructors/inputStickerSetAnimatedEmoji.md) = \[\];
+***
+
[$inputStickerSetDice](../constructors/inputStickerSetDice.md) = \[\];
+
***
[$inputStickerSetEmpty](../constructors/inputStickerSetEmpty.md) = \[\];
@@ -1131,12 +1137,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$invoice](../constructors/invoice.md) = \['test' => [Bool](../types/Bool.md), 'name_requested' => [Bool](../types/Bool.md), 'phone_requested' => [Bool](../types/Bool.md), 'email_requested' => [Bool](../types/Bool.md), 'shipping_address_requested' => [Bool](../types/Bool.md), 'flexible' => [Bool](../types/Bool.md), 'phone_to_provider' => [Bool](../types/Bool.md), 'email_to_provider' => [Bool](../types/Bool.md), 'currency' => [string](../types/string.md), 'prices' => \[[LabeledPrice](../types/LabeledPrice.md)\], \];
-***
-
[$ipPort](../constructors/ipPort.md) = \['ipv4' => [int](../types/int.md), 'port' => [int](../types/int.md), \];
-
-***
-
[$ipPortSecret](../constructors/ipPortSecret.md) = \['ipv4' => [int](../types/int.md), 'port' => [int](../types/int.md), 'secret' => [bytes](../types/bytes.md), \];
-
***
[$jsonArray](../constructors/jsonArray.md) = \['value' => \[[JSONValue](../types/JSONValue.md)\], \];
@@ -1344,9 +1344,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$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), \];
+***
+
[$messageInteractionCounters](../constructors/messageInteractionCounters.md) = \['msg_id' => [int](../types/int.md), 'views' => [int](../types/int.md), 'forwards' => [int](../types/int.md), \];
+
***
[$messageMediaContact](../constructors/messageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'vcard' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \];
+***
+
[$messageMediaDice](../constructors/messageMediaDice.md) = \['value' => [int](../types/int.md), \];
+
***
[$messageMediaDocument](../constructors/messageMediaDocument.md) = \['document' => [Document](../types/Document.md), 'ttl_seconds' => [int](../types/int.md), \];
@@ -1540,7 +1546,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[$notifyUsers](../constructors/notifyUsers.md) = \[\];
***
-
[$page](../constructors/page.md) = \['part' => [Bool](../types/Bool.md), 'rtl' => [Bool](../types/Bool.md), 'v2' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'blocks' => \[[PageBlock](../types/PageBlock.md)\], 'photos' => \[[Photo](../types/Photo.md)\], 'documents' => \[[Document](../types/Document.md)\], \];
+
[$null](../constructors/null.md) = \[\];
+
+***
+
[$page](../constructors/page.md) = \['part' => [Bool](../types/Bool.md), 'rtl' => [Bool](../types/Bool.md), 'v2' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'blocks' => \[[PageBlock](../types/PageBlock.md)\], 'photos' => \[[Photo](../types/Photo.md)\], 'documents' => \[[Document](../types/Document.md)\], 'views' => [int](../types/int.md), \];
***
[$pageBlockAnchor](../constructors/pageBlockAnchor.md) = \['name' => [string](../types/string.md), \];
@@ -1738,7 +1747,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[$phoneCallEmpty](../constructors/phoneCallEmpty.md) = \['id' => [long](../types/long.md), \];
***
-
[$phoneCallProtocol](../constructors/phoneCallProtocol.md) = \['udp_p2p' => [Bool](../types/Bool.md), 'udp_reflector' => [Bool](../types/Bool.md), 'min_layer' => [int](../types/int.md), 'max_layer' => [int](../types/int.md), \];
+
[$phoneCallProtocol](../constructors/phoneCallProtocol.md) = \['udp_p2p' => [Bool](../types/Bool.md), 'udp_reflector' => [Bool](../types/Bool.md), 'min_layer' => [int](../types/int.md), 'max_layer' => [int](../types/int.md), 'library_versions' => \[[string](../types/string.md)\], \];
***
[$phoneCallRequested](../constructors/phoneCallRequested.md) = \['video' => [Bool](../types/Bool.md), 'id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), 'date' => [int](../types/int.md), 'admin_id' => [int](../types/int.md), 'participant_id' => [int](../types/int.md), 'g_a_hash' => [bytes](../types/bytes.md), 'protocol' => [PhoneCallProtocol](../types/PhoneCallProtocol.md), \];
@@ -2031,6 +2040,27 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$simpleDataBlock](../constructors/simpleDataBlock.md) = \['raw_data' => [string](../types/string.md), \];
+***
+
[$stats.broadcastStats](../constructors/stats.broadcastStats.md) = \['period' => [StatsDateRangeDays](../types/StatsDateRangeDays.md), 'followers' => [StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md), 'views_per_post' => [StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md), 'shares_per_post' => [StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md), 'enabled_notifications' => [StatsPercentValue](../types/StatsPercentValue.md), 'growth_graph' => [StatsGraph](../types/StatsGraph.md), 'followers_graph' => [StatsGraph](../types/StatsGraph.md), 'mute_graph' => [StatsGraph](../types/StatsGraph.md), 'top_hours_graph' => [StatsGraph](../types/StatsGraph.md), 'interactions_graph' => [StatsGraph](../types/StatsGraph.md), 'iv_interactions_graph' => [StatsGraph](../types/StatsGraph.md), 'views_by_source_graph' => [StatsGraph](../types/StatsGraph.md), 'new_followers_by_source_graph' => [StatsGraph](../types/StatsGraph.md), 'languages_graph' => [StatsGraph](../types/StatsGraph.md), 'recent_message_interactions' => \[[MessageInteractionCounters](../types/MessageInteractionCounters.md)\], \];
+
+***
+
[$statsAbsValueAndPrev](../constructors/statsAbsValueAndPrev.md) = \['current' => [double](../types/double.md), 'previous' => [double](../types/double.md), \];
+
+***
+
[$statsDateRangeDays](../constructors/statsDateRangeDays.md) = \['min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), \];
+
+***
+
[$statsGraph](../constructors/statsGraph.md) = \['json' => [DataJSON](../types/DataJSON.md), 'zoom_token' => [string](../types/string.md), \];
+
+***
+
[$statsGraphAsync](../constructors/statsGraphAsync.md) = \['token' => [string](../types/string.md), \];
+
+***
+
[$statsGraphError](../constructors/statsGraphError.md) = \['error' => [string](../types/string.md), \];
+
+***
+
[$statsPercentValue](../constructors/statsPercentValue.md) = \['part' => [double](../types/double.md), 'total' => [double](../types/double.md), \];
+
***
[$statsURL](../constructors/statsURL.md) = \['url' => [string](../types/string.md), \];
@@ -2244,6 +2274,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
[$updateDeleteScheduledMessages](../constructors/updateDeleteScheduledMessages.md) = \['peer' => [Peer](../types/Peer.md), 'messages' => \[[int](../types/int.md)\], \];
+***
+
[$updateDialogFilter](../constructors/updateDialogFilter.md) = \['id' => [int](../types/int.md), 'filter' => [DialogFilter](../types/DialogFilter.md), \];
+
+***
+
[$updateDialogFilterOrder](../constructors/updateDialogFilterOrder.md) = \['order' => \[[int](../types/int.md)\], \];
+
+***
+
[$updateDialogFilters](../constructors/updateDialogFilters.md) = \[\];
+
***
[$updateDialogPinned](../constructors/updateDialogPinned.md) = \['pinned' => [Bool](../types/Bool.md), 'folder_id' => [int](../types/int.md), 'peer' => [DialogPeer](../types/DialogPeer.md), \];
@@ -2524,7 +2563,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[$webPageEmpty](../constructors/webPageEmpty.md) = \['id' => [long](../types/long.md), \];
***
-
[$webPageNotModified](../constructors/webPageNotModified.md) = \[\];
+
[$webPageNotModified](../constructors/webPageNotModified.md) = \['cached_page_views' => [int](../types/int.md), \];
***
[$webPagePending](../constructors/webPagePending.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), \];
diff --git a/docs/API_docs/constructors/inputMediaDice.md b/docs/API_docs/constructors/inputMediaDice.md
new file mode 100644
index 00000000..b1ae76a7
--- /dev/null
+++ b/docs/API_docs/constructors/inputMediaDice.md
@@ -0,0 +1,31 @@
+---
+title: inputMediaDice
+description: inputMediaDice attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: inputMediaDice
+[Back to constructors index](index.md)
+
+
+
+
+
+
+### Type: [InputMedia](../types/InputMedia.md)
+
+
+### Example:
+
+```php
+$inputMediaDice = ['_' => 'inputMediaDice'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+inputMediaDice={_='inputMediaDice'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/inputStickerSetDice.md b/docs/API_docs/constructors/inputStickerSetDice.md
new file mode 100644
index 00000000..dcd12b67
--- /dev/null
+++ b/docs/API_docs/constructors/inputStickerSetDice.md
@@ -0,0 +1,31 @@
+---
+title: inputStickerSetDice
+description: inputStickerSetDice attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: inputStickerSetDice
+[Back to constructors index](index.md)
+
+
+
+
+
+
+### Type: [InputStickerSet](../types/InputStickerSet.md)
+
+
+### Example:
+
+```php
+$inputStickerSetDice = ['_' => 'inputStickerSetDice'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+inputStickerSetDice={_='inputStickerSetDice'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/ipPort.md b/docs/API_docs/constructors/ipPort.md
deleted file mode 100644
index 3173c09d..00000000
--- a/docs/API_docs/constructors/ipPort.md
+++ /dev/null
@@ -1,39 +0,0 @@
----
-title: ipPort
-description: Ip port
-image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
----
-# Constructor: ipPort
-[Back to constructors index](index.md)
-
-
-
-Ip port
-
-### Attributes:
-
-| Name | Type | Required | Description |
-|----------|---------------|----------|-------------|
-|ipv4|[int](../types/int.md) | Yes|Ipv4|
-|port|[int](../types/int.md) | Yes|Port|
-
-
-
-### Type: [IpPort](../types/IpPort.md)
-
-
-### Example:
-
-```php
-$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int];
-```
-
-
-Or, if you're into Lua:
-
-```lua
-ipPort={_='ipPort', ipv4=int, port=int}
-
-```
-
-
diff --git a/docs/API_docs/constructors/ipPortSecret.md b/docs/API_docs/constructors/ipPortSecret.md
deleted file mode 100644
index e492b4cd..00000000
--- a/docs/API_docs/constructors/ipPortSecret.md
+++ /dev/null
@@ -1,40 +0,0 @@
----
-title: ipPortSecret
-description: Ip port secret
-image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
----
-# Constructor: ipPortSecret
-[Back to constructors index](index.md)
-
-
-
-Ip port secret
-
-### Attributes:
-
-| Name | Type | Required | Description |
-|----------|---------------|----------|-------------|
-|ipv4|[int](../types/int.md) | Yes|Ipv4|
-|port|[int](../types/int.md) | Yes|Port|
-|secret|[bytes](../types/bytes.md) | Yes|Secret|
-
-
-
-### Type: [IpPort](../types/IpPort.md)
-
-
-### Example:
-
-```php
-$ipPortSecret = ['_' => 'ipPortSecret', 'ipv4' => int, 'port' => int, 'secret' => 'bytes'];
-```
-
-
-Or, if you're into Lua:
-
-```lua
-ipPortSecret={_='ipPortSecret', ipv4=int, port=int, secret='bytes'}
-
-```
-
-
diff --git a/docs/API_docs/constructors/messageInteractionCounters.md b/docs/API_docs/constructors/messageInteractionCounters.md
new file mode 100644
index 00000000..f51a80bb
--- /dev/null
+++ b/docs/API_docs/constructors/messageInteractionCounters.md
@@ -0,0 +1,38 @@
+---
+title: messageInteractionCounters
+description: messageInteractionCounters attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: messageInteractionCounters
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|msg\_id|[int](../types/int.md) | Yes|
+|views|[int](../types/int.md) | Yes|
+|forwards|[int](../types/int.md) | Yes|
+
+
+
+### Type: [MessageInteractionCounters](../types/MessageInteractionCounters.md)
+
+
+### Example:
+
+```php
+$messageInteractionCounters = ['_' => 'messageInteractionCounters', 'msg_id' => int, 'views' => int, 'forwards' => int];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+messageInteractionCounters={_='messageInteractionCounters', msg_id=int, views=int, forwards=int}
+
+```
+
+
diff --git a/docs/API_docs/constructors/messageMediaDice.md b/docs/API_docs/constructors/messageMediaDice.md
new file mode 100644
index 00000000..a9903acd
--- /dev/null
+++ b/docs/API_docs/constructors/messageMediaDice.md
@@ -0,0 +1,36 @@
+---
+title: messageMediaDice
+description: messageMediaDice attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: messageMediaDice
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|value|[int](../types/int.md) | Yes|
+
+
+
+### Type: [MessageMedia](../types/MessageMedia.md)
+
+
+### Example:
+
+```php
+$messageMediaDice = ['_' => 'messageMediaDice', 'value' => int];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+messageMediaDice={_='messageMediaDice', value=int}
+
+```
+
+
diff --git a/docs/API_docs/constructors/page.md b/docs/API_docs/constructors/page.md
index 980d9513..1c0c2c8b 100644
--- a/docs/API_docs/constructors/page.md
+++ b/docs/API_docs/constructors/page.md
@@ -21,6 +21,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|blocks|Array of [PageBlock](../types/PageBlock.md) | Yes|Blocks|
|photos|Array of [Photo](../types/Photo.md) | Yes|Photos|
|documents|Array of [Document](../types/Document.md) | Yes|Documents|
+|views|[int](../types/int.md) | Optional||
@@ -30,14 +31,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
### Example:
```php
-$page = ['_' => 'page', 'part' => Bool, 'rtl' => Bool, 'v2' => Bool, 'url' => 'string', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document]];
+$page = ['_' => 'page', 'part' => Bool, 'rtl' => Bool, 'v2' => Bool, 'url' => 'string', 'blocks' => [PageBlock, PageBlock], 'photos' => [Photo, Photo], 'documents' => [Document, Document], 'views' => int];
```
Or, if you're into Lua:
```lua
-page={_='page', part=Bool, rtl=Bool, v2=Bool, url='string', blocks={PageBlock}, photos={Photo}, documents={Document}}
+page={_='page', part=Bool, rtl=Bool, v2=Bool, url='string', blocks={PageBlock}, photos={Photo}, documents={Document}, views=int}
```
diff --git a/docs/API_docs/constructors/phoneCallProtocol.md b/docs/API_docs/constructors/phoneCallProtocol.md
index 6531ea79..dc7afa49 100644
--- a/docs/API_docs/constructors/phoneCallProtocol.md
+++ b/docs/API_docs/constructors/phoneCallProtocol.md
@@ -18,6 +18,7 @@ Protocol info for libtgvoip
|udp\_reflector|[Bool](../types/Bool.md) | Optional|Whether to allow connection to the other participants through the reflector servers|
|min\_layer|[int](../types/int.md) | Yes|Minimum layer for remote libtgvoip|
|max\_layer|[int](../types/int.md) | Yes|Maximum layer for remote libtgvoip|
+|library\_versions|Array of [string](../types/string.md) | Yes||
@@ -27,14 +28,14 @@ Protocol info for libtgvoip
### Example:
```php
-$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int];
+$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, 'library_versions' => ['string', 'string']];
```
Or, if you're into Lua:
```lua
-phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int}
+phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int, library_versions={'string'}}
```
diff --git a/docs/API_docs/constructors/stats.broadcastStats.md b/docs/API_docs/constructors/stats.broadcastStats.md
new file mode 100644
index 00000000..be8387db
--- /dev/null
+++ b/docs/API_docs/constructors/stats.broadcastStats.md
@@ -0,0 +1,51 @@
+---
+title: stats.broadcastStats
+description: stats.broadcastStats attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/constructors/stats_broadcastStats.html
+---
+# Constructor: stats.broadcastStats
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|period|[StatsDateRangeDays](../types/StatsDateRangeDays.md) | Yes|
+|followers|[StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md) | Yes|
+|views\_per\_post|[StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md) | Yes|
+|shares\_per\_post|[StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md) | Yes|
+|enabled\_notifications|[StatsPercentValue](../types/StatsPercentValue.md) | Yes|
+|growth\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|followers\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|mute\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|top\_hours\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|interactions\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|iv\_interactions\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|views\_by\_source\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|new\_followers\_by\_source\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|languages\_graph|[StatsGraph](../types/StatsGraph.md) | Yes|
+|recent\_message\_interactions|Array of [MessageInteractionCounters](../types/MessageInteractionCounters.md) | Yes|
+
+
+
+### Type: [stats.BroadcastStats](../types/stats.BroadcastStats.md)
+
+
+### Example:
+
+```php
+$stats.broadcastStats = ['_' => 'stats.broadcastStats', 'period' => StatsDateRangeDays, 'followers' => StatsAbsValueAndPrev, 'views_per_post' => StatsAbsValueAndPrev, 'shares_per_post' => StatsAbsValueAndPrev, 'enabled_notifications' => StatsPercentValue, 'growth_graph' => StatsGraph, 'followers_graph' => StatsGraph, 'mute_graph' => StatsGraph, 'top_hours_graph' => StatsGraph, 'interactions_graph' => StatsGraph, 'iv_interactions_graph' => StatsGraph, 'views_by_source_graph' => StatsGraph, 'new_followers_by_source_graph' => StatsGraph, 'languages_graph' => StatsGraph, 'recent_message_interactions' => [MessageInteractionCounters, MessageInteractionCounters]];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+stats.broadcastStats={_='stats.broadcastStats', period=StatsDateRangeDays, followers=StatsAbsValueAndPrev, views_per_post=StatsAbsValueAndPrev, shares_per_post=StatsAbsValueAndPrev, enabled_notifications=StatsPercentValue, growth_graph=StatsGraph, followers_graph=StatsGraph, mute_graph=StatsGraph, top_hours_graph=StatsGraph, interactions_graph=StatsGraph, iv_interactions_graph=StatsGraph, views_by_source_graph=StatsGraph, new_followers_by_source_graph=StatsGraph, languages_graph=StatsGraph, recent_message_interactions={MessageInteractionCounters}}
+
+```
+
+
diff --git a/docs/API_docs/constructors/statsAbsValueAndPrev.md b/docs/API_docs/constructors/statsAbsValueAndPrev.md
new file mode 100644
index 00000000..21acb848
--- /dev/null
+++ b/docs/API_docs/constructors/statsAbsValueAndPrev.md
@@ -0,0 +1,37 @@
+---
+title: statsAbsValueAndPrev
+description: statsAbsValueAndPrev attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: statsAbsValueAndPrev
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|current|[double](../types/double.md) | Yes|
+|previous|[double](../types/double.md) | Yes|
+
+
+
+### Type: [StatsAbsValueAndPrev](../types/StatsAbsValueAndPrev.md)
+
+
+### Example:
+
+```php
+$statsAbsValueAndPrev = ['_' => 'statsAbsValueAndPrev', 'current' => double, 'previous' => double];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+statsAbsValueAndPrev={_='statsAbsValueAndPrev', current=double, previous=double}
+
+```
+
+
diff --git a/docs/API_docs/constructors/statsDateRangeDays.md b/docs/API_docs/constructors/statsDateRangeDays.md
new file mode 100644
index 00000000..30183f1a
--- /dev/null
+++ b/docs/API_docs/constructors/statsDateRangeDays.md
@@ -0,0 +1,37 @@
+---
+title: statsDateRangeDays
+description: statsDateRangeDays attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: statsDateRangeDays
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|min\_date|[int](../types/int.md) | Yes|
+|max\_date|[int](../types/int.md) | Yes|
+
+
+
+### Type: [StatsDateRangeDays](../types/StatsDateRangeDays.md)
+
+
+### Example:
+
+```php
+$statsDateRangeDays = ['_' => 'statsDateRangeDays', 'min_date' => int, 'max_date' => int];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+statsDateRangeDays={_='statsDateRangeDays', min_date=int, max_date=int}
+
+```
+
+
diff --git a/docs/API_docs/constructors/statsGraph.md b/docs/API_docs/constructors/statsGraph.md
new file mode 100644
index 00000000..66cfad97
--- /dev/null
+++ b/docs/API_docs/constructors/statsGraph.md
@@ -0,0 +1,37 @@
+---
+title: statsGraph
+description: statsGraph attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: statsGraph
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|json|[DataJSON](../types/DataJSON.md) | Yes|
+|zoom\_token|[string](../types/string.md) | Optional|
+
+
+
+### Type: [StatsGraph](../types/StatsGraph.md)
+
+
+### Example:
+
+```php
+$statsGraph = ['_' => 'statsGraph', 'json' => DataJSON, 'zoom_token' => 'string'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+statsGraph={_='statsGraph', json=DataJSON, zoom_token='string'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/statsGraphAsync.md b/docs/API_docs/constructors/statsGraphAsync.md
new file mode 100644
index 00000000..a055f2cf
--- /dev/null
+++ b/docs/API_docs/constructors/statsGraphAsync.md
@@ -0,0 +1,36 @@
+---
+title: statsGraphAsync
+description: statsGraphAsync attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: statsGraphAsync
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|token|[string](../types/string.md) | Yes|
+
+
+
+### Type: [StatsGraph](../types/StatsGraph.md)
+
+
+### Example:
+
+```php
+$statsGraphAsync = ['_' => 'statsGraphAsync', 'token' => 'string'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+statsGraphAsync={_='statsGraphAsync', token='string'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/statsGraphError.md b/docs/API_docs/constructors/statsGraphError.md
new file mode 100644
index 00000000..cf0923a7
--- /dev/null
+++ b/docs/API_docs/constructors/statsGraphError.md
@@ -0,0 +1,36 @@
+---
+title: statsGraphError
+description: statsGraphError attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: statsGraphError
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|error|[string](../types/string.md) | Yes|
+
+
+
+### Type: [StatsGraph](../types/StatsGraph.md)
+
+
+### Example:
+
+```php
+$statsGraphError = ['_' => 'statsGraphError', 'error' => 'string'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+statsGraphError={_='statsGraphError', error='string'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/statsPercentValue.md b/docs/API_docs/constructors/statsPercentValue.md
new file mode 100644
index 00000000..98f668c4
--- /dev/null
+++ b/docs/API_docs/constructors/statsPercentValue.md
@@ -0,0 +1,37 @@
+---
+title: statsPercentValue
+description: statsPercentValue attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: statsPercentValue
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|part|[double](../types/double.md) | Yes|
+|total|[double](../types/double.md) | Yes|
+
+
+
+### Type: [StatsPercentValue](../types/StatsPercentValue.md)
+
+
+### Example:
+
+```php
+$statsPercentValue = ['_' => 'statsPercentValue', 'part' => double, 'total' => double];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+statsPercentValue={_='statsPercentValue', part=double, total=double}
+
+```
+
+
diff --git a/docs/API_docs/constructors/updateDialogFilter.md b/docs/API_docs/constructors/updateDialogFilter.md
new file mode 100644
index 00000000..0efb0657
--- /dev/null
+++ b/docs/API_docs/constructors/updateDialogFilter.md
@@ -0,0 +1,37 @@
+---
+title: updateDialogFilter
+description: updateDialogFilter attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: updateDialogFilter
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|id|[int](../types/int.md) | Yes|
+|filter|[DialogFilter](../types/DialogFilter.md) | Optional|
+
+
+
+### Type: [Update](../types/Update.md)
+
+
+### Example:
+
+```php
+$updateDialogFilter = ['_' => 'updateDialogFilter', 'id' => int, 'filter' => DialogFilter];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+updateDialogFilter={_='updateDialogFilter', id=int, filter=DialogFilter}
+
+```
+
+
diff --git a/docs/API_docs/constructors/updateDialogFilterOrder.md b/docs/API_docs/constructors/updateDialogFilterOrder.md
new file mode 100644
index 00000000..abe9d018
--- /dev/null
+++ b/docs/API_docs/constructors/updateDialogFilterOrder.md
@@ -0,0 +1,36 @@
+---
+title: updateDialogFilterOrder
+description: updateDialogFilterOrder attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: updateDialogFilterOrder
+[Back to constructors index](index.md)
+
+
+
+### Attributes:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|order|Array of [int](../types/int.md) | Yes|
+
+
+
+### Type: [Update](../types/Update.md)
+
+
+### Example:
+
+```php
+$updateDialogFilterOrder = ['_' => 'updateDialogFilterOrder', 'order' => [int, int]];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+updateDialogFilterOrder={_='updateDialogFilterOrder', order={int}}
+
+```
+
+
diff --git a/docs/API_docs/constructors/updateDialogFilters.md b/docs/API_docs/constructors/updateDialogFilters.md
new file mode 100644
index 00000000..8b79ec48
--- /dev/null
+++ b/docs/API_docs/constructors/updateDialogFilters.md
@@ -0,0 +1,31 @@
+---
+title: updateDialogFilters
+description: updateDialogFilters attributes, type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Constructor: updateDialogFilters
+[Back to constructors index](index.md)
+
+
+
+
+
+
+### Type: [Update](../types/Update.md)
+
+
+### Example:
+
+```php
+$updateDialogFilters = ['_' => 'updateDialogFilters'];
+```
+
+
+Or, if you're into Lua:
+
+```lua
+updateDialogFilters={_='updateDialogFilters'}
+
+```
+
+
diff --git a/docs/API_docs/constructors/webPageNotModified.md b/docs/API_docs/constructors/webPageNotModified.md
index 1a6a7ebc..55d0c864 100644
--- a/docs/API_docs/constructors/webPageNotModified.md
+++ b/docs/API_docs/constructors/webPageNotModified.md
@@ -10,6 +10,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
The preview of the webpage hasn't changed
+### Attributes:
+
+| Name | Type | Required | Description |
+|----------|---------------|----------|-------------|
+|cached\_page\_views|[int](../types/int.md) | Optional||
@@ -19,14 +24,14 @@ The preview of the webpage hasn't changed
### Example:
```php
-$webPageNotModified = ['_' => 'webPageNotModified'];
+$webPageNotModified = ['_' => 'webPageNotModified', 'cached_page_views' => int];
```
Or, if you're into Lua:
```lua
-webPageNotModified={_='webPageNotModified'}
+webPageNotModified={_='webPageNotModified', cached_page_views=int}
```
diff --git a/docs/API_docs/index.md b/docs/API_docs/index.md
index d57343ec..a7b70f92 100644
--- a/docs/API_docs/index.md
+++ b/docs/API_docs/index.md
@@ -1,9 +1,9 @@
---
-title: MadelineProto API documentation (layer 110)
-description: MadelineProto API documentation (layer 110)
+title: MadelineProto API documentation (layer 111)
+description: MadelineProto API documentation (layer 111)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
-# MadelineProto API documentation (layer 110)
+# MadelineProto API documentation (layer 111)
[Back to main documentation](..)
diff --git a/docs/API_docs/methods/api_index.md b/docs/API_docs/methods/api_index.md
index 835c3721..86f13b7e 100644
--- a/docs/API_docs/methods/api_index.md
+++ b/docs/API_docs/methods/api_index.md
@@ -846,6 +846,10 @@ $MadelineProto->[messages->getCommonChats](messages.getCommonChats.md)(\['user_i
$MadelineProto->[messages->getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) === [$messages.DhConfig](../types/messages.DhConfig.md)
+***
+
+$MadelineProto->[messages->getDialogFilters](messages.getDialogFilters.md)(\[\]) === [$Vector\_of\_DialogFilter](../types/DialogFilter.md)
+
***
$MadelineProto->[messages->getDialogUnreadMarks](messages.getDialogUnreadMarks.md)(\[\]) === [$Vector\_of\_DialogPeer](../types/DialogPeer.md)
@@ -982,6 +986,10 @@ $MadelineProto->[messages->getStickerSet](messages.getStickerSet.md)(\['stickers
$MadelineProto->[messages->getStickers](messages.getStickers.md)(\['emoticon' => [string](../types/string.md), 'hash' => [int](../types/int.md), \]) === [$messages.Stickers](../types/messages.Stickers.md)
+***
+
+$MadelineProto->[messages->getSuggestedDialogFilters](messages.getSuggestedDialogFilters.md)(\[\]) === [$Vector\_of\_DialogFilterSuggested](../types/DialogFilterSuggested.md)
+
***
$MadelineProto->[messages->getUnreadMentions](messages.getUnreadMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) === [$messages.Messages](../types/messages.Messages.md)
@@ -1186,6 +1194,14 @@ $MadelineProto->[messages->toggleStickerSets](messages.toggleStickerSets.md)(\['
$MadelineProto->[messages->uninstallStickerSet](messages.uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)
+***
+
+$MadelineProto->[messages->updateDialogFilter](messages.updateDialogFilter.md)(\['id' => [int](../types/int.md), 'filter' => [DialogFilter](../types/DialogFilter.md), \]) === [$Bool](../types/Bool.md)
+
+***
+
+$MadelineProto->[messages->updateDialogFiltersOrder](messages.updateDialogFiltersOrder.md)(\['order' => \[[int](../types/int.md)\], \]) === [$Bool](../types/Bool.md)
+
***
$MadelineProto->[messages->updatePinnedMessage](messages.updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)
@@ -1274,6 +1290,14 @@ $MadelineProto->[photos->updateProfilePhoto](photos.updateProfilePhoto.md)(\['id
$MadelineProto->[photos->uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) === [$photos.Photo](../types/photos.Photo.md)
+***
+
+$MadelineProto->[stats->getBroadcastStats](stats.getBroadcastStats.md)(\['dark' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), \]) === [$stats.BroadcastStats](../types/stats.BroadcastStats.md)
+
+***
+
+$MadelineProto->[stats->loadAsyncGraph](stats.loadAsyncGraph.md)(\['token' => [string](../types/string.md), 'x' => [long](../types/long.md), \]) === [$StatsGraph](../types/StatsGraph.md)
+
***
$MadelineProto->[stickers->addStickerToSet](stickers.addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages.StickerSet](../types/messages.StickerSet.md)
diff --git a/docs/API_docs/methods/messages.getDialogFilters.md b/docs/API_docs/methods/messages.getDialogFilters.md
new file mode 100644
index 00000000..65db943c
--- /dev/null
+++ b/docs/API_docs/methods/messages.getDialogFilters.md
@@ -0,0 +1,38 @@
+---
+title: messages.getDialogFilters
+description: messages.getDialogFilters parameters, return type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/methods/messages_getDialogFilters.html
+---
+# Method: messages.getDialogFilters
+[Back to methods index](index.md)
+
+
+
+
+### Return type: [Vector\_of\_DialogFilter](../types/DialogFilter.md)
+
+### Can bots use this method: **YES**
+
+
+### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
+
+
+```php
+if (!file_exists('madeline.php')) {
+ copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
+}
+include 'madeline.php';
+
+$MadelineProto = new \danog\MadelineProto\API('session.madeline');
+$MadelineProto->start();
+
+$Vector_of_DialogFilter = $MadelineProto->messages->getDialogFilters();
+```
+
+Or, if you're into Lua:
+
+```lua
+Vector_of_DialogFilter = messages.getDialogFilters({})
+```
+
diff --git a/docs/API_docs/methods/messages.getSuggestedDialogFilters.md b/docs/API_docs/methods/messages.getSuggestedDialogFilters.md
new file mode 100644
index 00000000..906d63fc
--- /dev/null
+++ b/docs/API_docs/methods/messages.getSuggestedDialogFilters.md
@@ -0,0 +1,38 @@
+---
+title: messages.getSuggestedDialogFilters
+description: messages.getSuggestedDialogFilters parameters, return type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/methods/messages_getSuggestedDialogFilters.html
+---
+# Method: messages.getSuggestedDialogFilters
+[Back to methods index](index.md)
+
+
+
+
+### Return type: [Vector\_of\_DialogFilterSuggested](../types/DialogFilterSuggested.md)
+
+### Can bots use this method: **YES**
+
+
+### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
+
+
+```php
+if (!file_exists('madeline.php')) {
+ copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
+}
+include 'madeline.php';
+
+$MadelineProto = new \danog\MadelineProto\API('session.madeline');
+$MadelineProto->start();
+
+$Vector_of_DialogFilterSuggested = $MadelineProto->messages->getSuggestedDialogFilters();
+```
+
+Or, if you're into Lua:
+
+```lua
+Vector_of_DialogFilterSuggested = messages.getSuggestedDialogFilters({})
+```
+
diff --git a/docs/API_docs/methods/messages.updateDialogFilter.md b/docs/API_docs/methods/messages.updateDialogFilter.md
new file mode 100644
index 00000000..896ffffd
--- /dev/null
+++ b/docs/API_docs/methods/messages.updateDialogFilter.md
@@ -0,0 +1,44 @@
+---
+title: messages.updateDialogFilter
+description: messages.updateDialogFilter parameters, return type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/methods/messages_updateDialogFilter.html
+---
+# Method: messages.updateDialogFilter
+[Back to methods index](index.md)
+
+
+### Parameters:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|id|[int](../types/int.md) | Yes|
+|filter|[DialogFilter](../types/DialogFilter.md) | Optional|
+
+
+### Return type: [Bool](../types/Bool.md)
+
+### Can bots use this method: **YES**
+
+
+### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
+
+
+```php
+if (!file_exists('madeline.php')) {
+ copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
+}
+include 'madeline.php';
+
+$MadelineProto = new \danog\MadelineProto\API('session.madeline');
+$MadelineProto->start();
+
+$Bool = $MadelineProto->messages->updateDialogFilter(['id' => int, 'filter' => DialogFilter, ]);
+```
+
+Or, if you're into Lua:
+
+```lua
+Bool = messages.updateDialogFilter({id=int, filter=DialogFilter, })
+```
+
diff --git a/docs/API_docs/methods/messages.updateDialogFiltersOrder.md b/docs/API_docs/methods/messages.updateDialogFiltersOrder.md
new file mode 100644
index 00000000..3b02db3f
--- /dev/null
+++ b/docs/API_docs/methods/messages.updateDialogFiltersOrder.md
@@ -0,0 +1,43 @@
+---
+title: messages.updateDialogFiltersOrder
+description: messages.updateDialogFiltersOrder parameters, return type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/methods/messages_updateDialogFiltersOrder.html
+---
+# Method: messages.updateDialogFiltersOrder
+[Back to methods index](index.md)
+
+
+### Parameters:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|order|Array of [int](../types/int.md) | Yes|
+
+
+### Return type: [Bool](../types/Bool.md)
+
+### Can bots use this method: **YES**
+
+
+### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
+
+
+```php
+if (!file_exists('madeline.php')) {
+ copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
+}
+include 'madeline.php';
+
+$MadelineProto = new \danog\MadelineProto\API('session.madeline');
+$MadelineProto->start();
+
+$Bool = $MadelineProto->messages->updateDialogFiltersOrder(['order' => [int, int], ]);
+```
+
+Or, if you're into Lua:
+
+```lua
+Bool = messages.updateDialogFiltersOrder({order={int}, })
+```
+
diff --git a/docs/API_docs/methods/stats.getBroadcastStats.md b/docs/API_docs/methods/stats.getBroadcastStats.md
new file mode 100644
index 00000000..a85638b5
--- /dev/null
+++ b/docs/API_docs/methods/stats.getBroadcastStats.md
@@ -0,0 +1,44 @@
+---
+title: stats.getBroadcastStats
+description: stats.getBroadcastStats parameters, return type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/methods/stats_getBroadcastStats.html
+---
+# Method: stats.getBroadcastStats
+[Back to methods index](index.md)
+
+
+### Parameters:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|dark|[Bool](../types/Bool.md) | Optional|
+|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | Optional|
+
+
+### Return type: [stats.BroadcastStats](../types/stats.BroadcastStats.md)
+
+### Can bots use this method: **YES**
+
+
+### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
+
+
+```php
+if (!file_exists('madeline.php')) {
+ copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
+}
+include 'madeline.php';
+
+$MadelineProto = new \danog\MadelineProto\API('session.madeline');
+$MadelineProto->start();
+
+$stats.BroadcastStats = $MadelineProto->stats->getBroadcastStats(['dark' => Bool, 'channel' => InputChannel, ]);
+```
+
+Or, if you're into Lua:
+
+```lua
+stats.BroadcastStats = stats.getBroadcastStats({dark=Bool, channel=InputChannel, })
+```
+
diff --git a/docs/API_docs/methods/stats.loadAsyncGraph.md b/docs/API_docs/methods/stats.loadAsyncGraph.md
new file mode 100644
index 00000000..8cddf661
--- /dev/null
+++ b/docs/API_docs/methods/stats.loadAsyncGraph.md
@@ -0,0 +1,44 @@
+---
+title: stats.loadAsyncGraph
+description: stats.loadAsyncGraph parameters, return type and example
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/methods/stats_loadAsyncGraph.html
+---
+# Method: stats.loadAsyncGraph
+[Back to methods index](index.md)
+
+
+### Parameters:
+
+| Name | Type | Required |
+|----------|---------------|----------|
+|token|[string](../types/string.md) | Yes|
+|x|[long](../types/long.md) | Optional|
+
+
+### Return type: [StatsGraph](../types/StatsGraph.md)
+
+### Can bots use this method: **YES**
+
+
+### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
+
+
+```php
+if (!file_exists('madeline.php')) {
+ copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
+}
+include 'madeline.php';
+
+$MadelineProto = new \danog\MadelineProto\API('session.madeline');
+$MadelineProto->start();
+
+$StatsGraph = $MadelineProto->stats->loadAsyncGraph(['token' => 'string', 'x' => long, ]);
+```
+
+Or, if you're into Lua:
+
+```lua
+StatsGraph = stats.loadAsyncGraph({token='string', x=long, })
+```
+
diff --git a/docs/API_docs/types/DialogFilter.md b/docs/API_docs/types/DialogFilter.md
new file mode 100644
index 00000000..ae5ee3fc
--- /dev/null
+++ b/docs/API_docs/types/DialogFilter.md
@@ -0,0 +1,22 @@
+---
+title: DialogFilter
+description: constructors and methods of type DialogFilter
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Type: DialogFilter
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[dialogFilter](../constructors/dialogFilter.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+[$MadelineProto->messages->getDialogFilters](../methods/messages.getDialogFilters.md)
+
+
+
diff --git a/docs/API_docs/types/DialogFilterSuggested.md b/docs/API_docs/types/DialogFilterSuggested.md
new file mode 100644
index 00000000..92f1c83e
--- /dev/null
+++ b/docs/API_docs/types/DialogFilterSuggested.md
@@ -0,0 +1,22 @@
+---
+title: DialogFilterSuggested
+description: constructors and methods of type DialogFilterSuggested
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Type: DialogFilterSuggested
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[dialogFilterSuggested](../constructors/dialogFilterSuggested.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+[$MadelineProto->messages->getSuggestedDialogFilters](../methods/messages.getSuggestedDialogFilters.md)
+
+
+
diff --git a/docs/API_docs/types/InputMedia.md b/docs/API_docs/types/InputMedia.md
index 71104682..8cb73f0f 100644
--- a/docs/API_docs/types/InputMedia.md
+++ b/docs/API_docs/types/InputMedia.md
@@ -42,6 +42,8 @@ You can also provide a [MessageMedia](MessageMedia.md), [Message](Message.md), [
[inputMediaPoll](../constructors/inputMediaPoll.md)
+[inputMediaDice](../constructors/inputMediaDice.md)
+
### Methods that return an object of this type (methods):
diff --git a/docs/API_docs/types/InputStickerSet.md b/docs/API_docs/types/InputStickerSet.md
index 48ca6f05..6e2f65f3 100644
--- a/docs/API_docs/types/InputStickerSet.md
+++ b/docs/API_docs/types/InputStickerSet.md
@@ -18,6 +18,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[inputStickerSetAnimatedEmoji](../constructors/inputStickerSetAnimatedEmoji.md)
+[inputStickerSetDice](../constructors/inputStickerSetDice.md)
+
### Methods that return an object of this type (methods):
diff --git a/docs/API_docs/types/MessageInteractionCounters.md b/docs/API_docs/types/MessageInteractionCounters.md
new file mode 100644
index 00000000..acabe6ab
--- /dev/null
+++ b/docs/API_docs/types/MessageInteractionCounters.md
@@ -0,0 +1,20 @@
+---
+title: MessageInteractionCounters
+description: constructors and methods of type MessageInteractionCounters
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Type: MessageInteractionCounters
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[messageInteractionCounters](../constructors/messageInteractionCounters.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+
+
diff --git a/docs/API_docs/types/MessageMedia.md b/docs/API_docs/types/MessageMedia.md
index 36602552..3c33cd45 100644
--- a/docs/API_docs/types/MessageMedia.md
+++ b/docs/API_docs/types/MessageMedia.md
@@ -34,6 +34,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[messageMediaPoll](../constructors/messageMediaPoll.md)
+[messageMediaDice](../constructors/messageMediaDice.md)
+
### Methods that return an object of this type (methods):
diff --git a/docs/API_docs/types/AccessPointRule.md b/docs/API_docs/types/Null.md
similarity index 56%
rename from docs/API_docs/types/AccessPointRule.md
rename to docs/API_docs/types/Null.md
index 07450b37..58d38809 100644
--- a/docs/API_docs/types/AccessPointRule.md
+++ b/docs/API_docs/types/Null.md
@@ -1,16 +1,16 @@
---
-title: AccessPointRule
-description: constructors and methods of type AccessPointRule
+title: Null
+description: constructors and methods of type Null
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
-# Type: AccessPointRule
+# Type: Null
[Back to types index](index.md)
### Possible values (constructors):
-[accessPointRule](../constructors/accessPointRule.md)
+[null](../constructors/null.md)
diff --git a/docs/API_docs/types/StatsAbsValueAndPrev.md b/docs/API_docs/types/StatsAbsValueAndPrev.md
new file mode 100644
index 00000000..fb04b020
--- /dev/null
+++ b/docs/API_docs/types/StatsAbsValueAndPrev.md
@@ -0,0 +1,20 @@
+---
+title: StatsAbsValueAndPrev
+description: constructors and methods of type StatsAbsValueAndPrev
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Type: StatsAbsValueAndPrev
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[statsAbsValueAndPrev](../constructors/statsAbsValueAndPrev.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+
+
diff --git a/docs/API_docs/types/StatsDateRangeDays.md b/docs/API_docs/types/StatsDateRangeDays.md
new file mode 100644
index 00000000..5f6be803
--- /dev/null
+++ b/docs/API_docs/types/StatsDateRangeDays.md
@@ -0,0 +1,20 @@
+---
+title: StatsDateRangeDays
+description: constructors and methods of type StatsDateRangeDays
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Type: StatsDateRangeDays
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[statsDateRangeDays](../constructors/statsDateRangeDays.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+
+
diff --git a/docs/API_docs/types/StatsGraph.md b/docs/API_docs/types/StatsGraph.md
new file mode 100644
index 00000000..87bd41cd
--- /dev/null
+++ b/docs/API_docs/types/StatsGraph.md
@@ -0,0 +1,26 @@
+---
+title: StatsGraph
+description: constructors and methods of type StatsGraph
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+---
+# Type: StatsGraph
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[statsGraphAsync](../constructors/statsGraphAsync.md)
+
+[statsGraphError](../constructors/statsGraphError.md)
+
+[statsGraph](../constructors/statsGraph.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+[$MadelineProto->stats->loadAsyncGraph](../methods/stats.loadAsyncGraph.md)
+
+
+
diff --git a/docs/API_docs/types/IpPort.md b/docs/API_docs/types/StatsPercentValue.md
similarity index 55%
rename from docs/API_docs/types/IpPort.md
rename to docs/API_docs/types/StatsPercentValue.md
index 91e0cb84..6fdbe369 100644
--- a/docs/API_docs/types/IpPort.md
+++ b/docs/API_docs/types/StatsPercentValue.md
@@ -1,18 +1,16 @@
---
-title: IpPort
-description: constructors and methods of type IpPort
+title: StatsPercentValue
+description: constructors and methods of type StatsPercentValue
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
-# Type: IpPort
+# Type: StatsPercentValue
[Back to types index](index.md)
### Possible values (constructors):
-[ipPort](../constructors/ipPort.md)
-
-[ipPortSecret](../constructors/ipPortSecret.md)
+[statsPercentValue](../constructors/statsPercentValue.md)
diff --git a/docs/API_docs/types/Update.md b/docs/API_docs/types/Update.md
index 71810ae9..95bc2d24 100644
--- a/docs/API_docs/types/Update.md
+++ b/docs/API_docs/types/Update.md
@@ -164,6 +164,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[updateMessagePollVote](../constructors/updateMessagePollVote.md)
+[updateDialogFilter](../constructors/updateDialogFilter.md)
+
+[updateDialogFilterOrder](../constructors/updateDialogFilterOrder.md)
+
+[updateDialogFilters](../constructors/updateDialogFilters.md)
+
### Methods that return an object of this type (methods):
diff --git a/docs/API_docs/types/help.ConfigSimple.md b/docs/API_docs/types/help.ConfigSimple.md
deleted file mode 100644
index 23661a77..00000000
--- a/docs/API_docs/types/help.ConfigSimple.md
+++ /dev/null
@@ -1,21 +0,0 @@
----
-title: help.ConfigSimple
-description: constructors and methods of type help.ConfigSimple
-image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
-redirect_from: /API_docs/types/help_ConfigSimple.html
----
-# Type: help.ConfigSimple
-[Back to types index](index.md)
-
-
-
-### Possible values (constructors):
-
-[help.configSimple](../constructors/help.configSimple.md)
-
-
-
-### Methods that return an object of this type (methods):
-
-
-
diff --git a/docs/API_docs/types/index.md b/docs/API_docs/types/index.md
index 418412af..286e0b3e 100644
--- a/docs/API_docs/types/index.md
+++ b/docs/API_docs/types/index.md
@@ -7,8 +7,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[Back to API documentation index](..)
-[AccessPointRule](AccessPointRule.md)
-
[AccountDaysTTL](AccountDaysTTL.md)
[Authorization](Authorization.md)
@@ -91,6 +89,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[Dialog](Dialog.md)
+[DialogFilter](DialogFilter.md)
+
+[DialogFilterSuggested](DialogFilterSuggested.md)
+
[DialogPeer](DialogPeer.md)
[Document](Document.md)
@@ -221,8 +223,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[Invoice](Invoice.md)
-[IpPort](IpPort.md)
-
[JSONObjectValue](JSONObjectValue.md)
[JSONValue](JSONValue.md)
@@ -249,6 +249,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[MessageFwdHeader](MessageFwdHeader.md)
+[MessageInteractionCounters](MessageInteractionCounters.md)
+
[MessageMedia](MessageMedia.md)
[MessageRange](MessageRange.md)
@@ -261,6 +263,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[NotifyPeer](NotifyPeer.md)
+[Null](Null.md)
+
[Page](Page.md)
[PageBlock](PageBlock.md)
@@ -361,6 +365,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[ShippingOption](ShippingOption.md)
+[StatsAbsValueAndPrev](StatsAbsValueAndPrev.md)
+
+[StatsDateRangeDays](StatsDateRangeDays.md)
+
+[StatsGraph](StatsGraph.md)
+
+[StatsPercentValue](StatsPercentValue.md)
+
[StatsURL](StatsURL.md)
[StickerPack](StickerPack.md)
@@ -471,8 +483,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[help.AppUpdate](help.AppUpdate.md)
-[help.ConfigSimple](help.ConfigSimple.md)
-
[help.DeepLinkInfo](help.DeepLinkInfo.md)
[help.InviteText](help.InviteText.md)
@@ -569,6 +579,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[photos.Photos](photos.Photos.md)
+[stats.BroadcastStats](stats.BroadcastStats.md)
+
[storage.FileType](storage.FileType.md)
[updates.ChannelDifference](updates.ChannelDifference.md)
diff --git a/docs/API_docs/types/stats.BroadcastStats.md b/docs/API_docs/types/stats.BroadcastStats.md
new file mode 100644
index 00000000..29fa3c83
--- /dev/null
+++ b/docs/API_docs/types/stats.BroadcastStats.md
@@ -0,0 +1,23 @@
+---
+title: stats.BroadcastStats
+description: constructors and methods of type stats.BroadcastStats
+image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
+redirect_from: /API_docs/types/stats_BroadcastStats.html
+---
+# Type: stats.BroadcastStats
+[Back to types index](index.md)
+
+
+
+### Possible values (constructors):
+
+[stats.broadcastStats](../constructors/stats.broadcastStats.md)
+
+
+
+### Methods that return an object of this type (methods):
+
+[$MadelineProto->stats->getBroadcastStats](../methods/stats.getBroadcastStats.md)
+
+
+
diff --git a/docs/docs/USING_METHODS.md b/docs/docs/USING_METHODS.md
index b51806f1..350e238a 100644
--- a/docs/docs/USING_METHODS.md
+++ b/docs/docs/USING_METHODS.md
@@ -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.
-A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 110)](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 111)](https://docs.madelineproto.xyz/API_docs/).
[Now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)
diff --git a/old_docs/README.md b/old_docs/README.md
index fc5270ef..e31a5425 100644
--- a/old_docs/README.md
+++ b/old_docs/README.md
@@ -43,3 +43,4 @@ description: Documentation of old mtproto layers
[Layer v36](API_docs_v36/)
[Layer v37](API_docs_v37/)
[Layer v38](API_docs_v38/)
+[Layer v39](API_docs_v39/)