Updated to layer 68

This commit is contained in:
Daniil Gentili 2017-06-30 15:36:33 +02:00
parent aca1ca134e
commit 70a85cb6be
1124 changed files with 42059 additions and 138 deletions

View File

@ -38,9 +38,9 @@ $docs = [
'readme' => false,
],
[
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v66.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 66)',
'description' => 'MadelineProto API documentation (layer 66)',
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v68.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
'title' => 'MadelineProto API documentation (layer 68)',
'description' => 'MadelineProto API documentation (layer 68)',
'output_dir' => __DIR__.'/docs/API_docs',
'readme' => false,
],

View File

@ -12,10 +12,7 @@ description: channel attributes, type and example
| Name | Type | Required |
|----------|:-------------:|---------:|
|creator|[Bool](../types/Bool.md) | Optional|
|kicked|[Bool](../types/Bool.md) | Optional|
|left|[Bool](../types/Bool.md) | Optional|
|editor|[Bool](../types/Bool.md) | Optional|
|moderator|[Bool](../types/Bool.md) | Optional|
|broadcast|[Bool](../types/Bool.md) | Optional|
|verified|[Bool](../types/Bool.md) | Optional|
|megagroup|[Bool](../types/Bool.md) | Optional|
@ -31,6 +28,8 @@ description: channel attributes, type and example
|date|[int](../types/int.md) | Yes|
|version|[int](../types/int.md) | Yes|
|restriction\_reason|[string](../types/string.md) | Optional|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Optional|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Optional|
@ -40,14 +39,14 @@ description: channel attributes, type and example
### Example:
```
$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ];
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, 'admin_rights' => ChannelAdminRights, 'banned_rights' => ChannelBannedRights, ];
```
Or, if you're into Lua:
```
channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, }
channel={_='channel', creator=Bool, left=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, admin_rights=ChannelAdminRights, banned_rights=ChannelBannedRights, }
```

View File

@ -0,0 +1,38 @@
---
title: channelAdminLogEvent
description: channelAdminLogEvent attributes, type and example
---
## Constructor: channelAdminLogEvent
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[long](../types/long.md) | Yes|
|date|[int](../types/int.md) | Yes|
|user\_id|[int](../types/int.md) | Yes|
|action|[ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md) | Yes|
### Type: [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)
### Example:
```
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction, ];
```
Or, if you're into Lua:
```
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction, }
```

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionChangeAbout
description: channelAdminLogEventActionChangeAbout attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeAbout
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeAbout = ['_' => 'channelAdminLogEventActionChangeAbout', 'prev_value' => string, 'new_value' => string, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeAbout={_='channelAdminLogEventActionChangeAbout', prev_value=string, new_value=string, }
```

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionChangePhoto
description: channelAdminLogEventActionChangePhoto attributes, type and example
---
## Constructor: channelAdminLogEventActionChangePhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
|new\_photo|[ChatPhoto](../types/ChatPhoto.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => ChatPhoto, 'new_photo' => ChatPhoto, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=ChatPhoto, new_photo=ChatPhoto, }
```

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionChangeTitle
description: channelAdminLogEventActionChangeTitle attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeTitle
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeTitle = ['_' => 'channelAdminLogEventActionChangeTitle', 'prev_value' => string, 'new_value' => string, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeTitle={_='channelAdminLogEventActionChangeTitle', prev_value=string, new_value=string, }
```

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionChangeUsername
description: channelAdminLogEventActionChangeUsername attributes, type and example
---
## Constructor: channelAdminLogEventActionChangeUsername
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_value|[string](../types/string.md) | Yes|
|new\_value|[string](../types/string.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionChangeUsername = ['_' => 'channelAdminLogEventActionChangeUsername', 'prev_value' => string, 'new_value' => string, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionChangeUsername={_='channelAdminLogEventActionChangeUsername', prev_value=string, new_value=string, }
```

View File

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

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionEditMessage
description: channelAdminLogEventActionEditMessage attributes, type and example
---
## Constructor: channelAdminLogEventActionEditMessage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_message|[Message](../types/Message.md) | Yes|
|new\_message|[Message](../types/Message.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message, }
```

View File

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

View File

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

View File

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

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionParticipantToggleAdmin
description: channelAdminLogEventActionParticipantToggleAdmin attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantToggleAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantToggleAdmin = ['_' => 'channelAdminLogEventActionParticipantToggleAdmin', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantToggleAdmin={_='channelAdminLogEventActionParticipantToggleAdmin', prev_participant=ChannelParticipant, new_participant=ChannelParticipant, }
```

View File

@ -0,0 +1,36 @@
---
title: channelAdminLogEventActionParticipantToggleBan
description: channelAdminLogEventActionParticipantToggleBan attributes, type and example
---
## Constructor: channelAdminLogEventActionParticipantToggleBan
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|prev\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
|new\_participant|[ChannelParticipant](../types/ChannelParticipant.md) | Yes|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```
$channelAdminLogEventActionParticipantToggleBan = ['_' => 'channelAdminLogEventActionParticipantToggleBan', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant, ];
```
Or, if you're into Lua:
```
channelAdminLogEventActionParticipantToggleBan={_='channelAdminLogEventActionParticipantToggleBan', prev_participant=ChannelParticipant, new_participant=ChannelParticipant, }
```

View File

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

View File

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

View File

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

View File

@ -0,0 +1,48 @@
---
title: channelAdminLogEventsFilter
description: channelAdminLogEventsFilter attributes, type and example
---
## Constructor: channelAdminLogEventsFilter
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|join|[Bool](../types/Bool.md) | Optional|
|leave|[Bool](../types/Bool.md) | Optional|
|invite|[Bool](../types/Bool.md) | Optional|
|ban|[Bool](../types/Bool.md) | Optional|
|unban|[Bool](../types/Bool.md) | Optional|
|kick|[Bool](../types/Bool.md) | Optional|
|unkick|[Bool](../types/Bool.md) | Optional|
|promote|[Bool](../types/Bool.md) | Optional|
|demote|[Bool](../types/Bool.md) | Optional|
|info|[Bool](../types/Bool.md) | Optional|
|settings|[Bool](../types/Bool.md) | Optional|
|pinned|[Bool](../types/Bool.md) | Optional|
|edit|[Bool](../types/Bool.md) | Optional|
|delete|[Bool](../types/Bool.md) | Optional|
### Type: [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md)
### Example:
```
$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool, ];
```
Or, if you're into Lua:
```
channelAdminLogEventsFilter={_='channelAdminLogEventsFilter', join=Bool, leave=Bool, invite=Bool, ban=Bool, unban=Bool, kick=Bool, unkick=Bool, promote=Bool, demote=Bool, info=Bool, settings=Bool, pinned=Bool, edit=Bool, delete=Bool, }
```

View File

@ -0,0 +1,43 @@
---
title: channelAdminRights
description: channelAdminRights attributes, type and example
---
## Constructor: channelAdminRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|change\_info|[Bool](../types/Bool.md) | Optional|
|post\_messages|[Bool](../types/Bool.md) | Optional|
|edit\_messages|[Bool](../types/Bool.md) | Optional|
|delete\_messages|[Bool](../types/Bool.md) | Optional|
|ban\_users|[Bool](../types/Bool.md) | Optional|
|invite\_users|[Bool](../types/Bool.md) | Optional|
|invite\_link|[Bool](../types/Bool.md) | Optional|
|pin\_messages|[Bool](../types/Bool.md) | Optional|
|add\_admins|[Bool](../types/Bool.md) | Optional|
### Type: [ChannelAdminRights](../types/ChannelAdminRights.md)
### Example:
```
$channelAdminRights = ['_' => 'channelAdminRights', 'change_info' => Bool, 'post_messages' => Bool, 'edit_messages' => Bool, 'delete_messages' => Bool, 'ban_users' => Bool, 'invite_users' => Bool, 'invite_link' => Bool, 'pin_messages' => Bool, 'add_admins' => Bool, ];
```
Or, if you're into Lua:
```
channelAdminRights={_='channelAdminRights', change_info=Bool, post_messages=Bool, edit_messages=Bool, delete_messages=Bool, ban_users=Bool, invite_users=Bool, invite_link=Bool, pin_messages=Bool, add_admins=Bool, }
```

View File

@ -0,0 +1,43 @@
---
title: channelBannedRights
description: channelBannedRights attributes, type and example
---
## Constructor: channelBannedRights
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|view\_messages|[Bool](../types/Bool.md) | Optional|
|send\_messages|[Bool](../types/Bool.md) | Optional|
|send\_media|[Bool](../types/Bool.md) | Optional|
|send\_stickers|[Bool](../types/Bool.md) | Optional|
|send\_gifs|[Bool](../types/Bool.md) | Optional|
|send\_games|[Bool](../types/Bool.md) | Optional|
|send\_inline|[Bool](../types/Bool.md) | Optional|
|embed\_links|[Bool](../types/Bool.md) | Optional|
|until\_date|[int](../types/int.md) | Yes|
### Type: [ChannelBannedRights](../types/ChannelBannedRights.md)
### Example:
```
$channelBannedRights = ['_' => 'channelBannedRights', 'view_messages' => Bool, 'send_messages' => Bool, 'send_media' => Bool, 'send_stickers' => Bool, 'send_gifs' => Bool, 'send_games' => Bool, 'send_inline' => Bool, 'embed_links' => Bool, 'until_date' => int, ];
```
Or, if you're into Lua:
```
channelBannedRights={_='channelBannedRights', view_messages=Bool, send_messages=Bool, send_media=Bool, send_stickers=Bool, send_gifs=Bool, send_games=Bool, send_inline=Bool, embed_links=Bool, until_date=int, }
```

View File

@ -16,6 +16,7 @@ description: channelForbidden attributes, type and example
|id|[int](../types/int.md) | Yes|
|access\_hash|[long](../types/long.md) | Yes|
|title|[string](../types/string.md) | Yes|
|until\_date|[int](../types/int.md) | Optional|
@ -25,14 +26,14 @@ description: channelForbidden attributes, type and example
### Example:
```
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ];
$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'until_date' => int, ];
```
Or, if you're into Lua:
```
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, }
channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, until_date=int, }
```

View File

@ -18,6 +18,7 @@ description: channelFull attributes, type and example
|participants\_count|[int](../types/int.md) | Optional|
|admins\_count|[int](../types/int.md) | Optional|
|kicked\_count|[int](../types/int.md) | Optional|
|banned\_count|[int](../types/int.md) | Optional|
|read\_inbox\_max\_id|[int](../types/int.md) | Yes|
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|unread\_count|[int](../types/int.md) | Yes|
@ -37,14 +38,14 @@ description: channelFull attributes, type and example
### Example:
```
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ];
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ];
```
Or, if you're into Lua:
```
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, }
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, banned_count=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, }
```

View File

@ -0,0 +1,40 @@
---
title: channelParticipantAdmin
description: channelParticipantAdmin attributes, type and example
---
## Constructor: channelParticipantAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|can\_edit|[Bool](../types/Bool.md) | Optional|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|promoted\_by|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights, ];
```
Or, if you're into Lua:
```
channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights, }
```

View File

@ -0,0 +1,39 @@
---
title: channelParticipantBanned
description: channelParticipantBanned attributes, type and example
---
## Constructor: channelParticipantBanned
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|left|[Bool](../types/Bool.md) | Optional|
|user\_id|[int](../types/int.md) | Yes|
|kicked\_by|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```
$channelParticipantBanned = ['_' => 'channelParticipantBanned', 'left' => Bool, 'user_id' => int, 'kicked_by' => int, 'date' => int, 'banned_rights' => ChannelBannedRights, ];
```
Or, if you're into Lua:
```
channelParticipantBanned={_='channelParticipantBanned', left=Bool, user_id=int, kicked_by=int, date=int, banned_rights=ChannelBannedRights, }
```

View File

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

View File

@ -7,6 +7,11 @@ description: channelParticipantsKicked attributes, type and example
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|q|[string](../types/string.md) | Yes|
@ -16,14 +21,14 @@ description: channelParticipantsKicked attributes, type and example
### Example:
```
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', ];
$channelParticipantsKicked = ['_' => 'channelParticipantsKicked', 'q' => string, ];
```
Or, if you're into Lua:
```
channelParticipantsKicked={_='channelParticipantsKicked', }
channelParticipantsKicked={_='channelParticipantsKicked', q=string, }
```

View File

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

View File

@ -0,0 +1,37 @@
---
title: channels.adminLogResults
description: channels_adminLogResults attributes, type and example
---
## Constructor: channels.adminLogResults
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|
|chats|Array of [Chat](../types/Chat.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
### Example:
```
$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent], 'chats' => [Chat], 'users' => [User], ];
```
Or, if you're into Lua:
```
channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}, }
```

View File

@ -40,6 +40,8 @@ description: config attributes, type and example
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|
|call\_packet\_timeout\_ms|[int](../types/int.md) | Yes|
|me\_url\_prefix|[string](../types/string.md) | Yes|
|suggested\_lang\_code|[string](../types/string.md) | Optional|
|lang\_pack\_version|[int](../types/int.md) | Optional|
|disabled\_features|Array of [DisabledFeature](../types/DisabledFeature.md) | Yes|
@ -50,14 +52,14 @@ description: config attributes, type and example
### Example:
```
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => string, 'disabled_features' => [DisabledFeature], ];
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => string, 'suggested_lang_code' => string, 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature], ];
```
Or, if you're into Lua:
```
config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix=string, disabled_features={DisabledFeature}, }
config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix=string, suggested_lang_code=string, lang_pack_version=int, disabled_features={DisabledFeature}, }
```

View File

@ -15,6 +15,7 @@ description: dcOption attributes, type and example
|media\_only|[Bool](../types/Bool.md) | Optional|
|tcpo\_only|[Bool](../types/Bool.md) | Optional|
|cdn|[Bool](../types/Bool.md) | Optional|
|static|[Bool](../types/Bool.md) | Optional|
|id|[int](../types/int.md) | Yes|
|ip\_address|[string](../types/string.md) | Yes|
|port|[int](../types/int.md) | Yes|
@ -27,14 +28,14 @@ description: dcOption attributes, type and example
### Example:
```
$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ];
$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'cdn' => Bool, 'static' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ];
```
Or, if you're into Lua:
```
dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, id=int, ip_address=string, port=int, }
dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, cdn=Bool, static=Bool, id=int, ip_address=string, port=int, }
```

View File

@ -0,0 +1,38 @@
---
title: help.configSimple
description: help_configSimple attributes, type and example
---
## Constructor: help.configSimple
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|date|[int](../types/int.md) | Yes|
|expires|[int](../types/int.md) | Yes|
|dc\_id|[int](../types/int.md) | Yes|
|ip\_port\_list|Array of [ipPort](../types/ipPort.md) | Yes|
### Type: [help\_ConfigSimple](../types/help_ConfigSimple.md)
### Example:
```
$help_configSimple = ['_' => 'help.configSimple', 'date' => int, 'expires' => int, 'dc_id' => int, 'ip_port_list' => [ipPort], ];
```
Or, if you're into Lua:
```
help_configSimple={_='help.configSimple', date=int, expires=int, dc_id=int, ip_port_list={ipPort}, }
```

View File

@ -98,13 +98,67 @@ description: List of constructors
<br><br>[$cdnPublicKey](../constructors/cdnPublicKey.md) = \['dc_id' => [int](../types/int.md), 'public_key' => [string](../types/string.md), \];<a name="cdnPublicKey"></a>
***
<br><br>[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'editor' => [Bool](../types/Bool.md), 'moderator' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), \];<a name="channel"></a>
<br><br>[$channel](../constructors/channel.md) = \['creator' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'broadcast' => [Bool](../types/Bool.md), 'verified' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'restricted' => [Bool](../types/Bool.md), 'democracy' => [Bool](../types/Bool.md), 'signatures' => [Bool](../types/Bool.md), 'min' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'username' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'restriction_reason' => [string](../types/string.md), 'admin_rights' => [ChannelAdminRights](../types/ChannelAdminRights.md), 'banned_rights' => [ChannelBannedRights](../types/ChannelBannedRights.md), \];<a name="channel"></a>
***
<br><br>[$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), \];<a name="channelForbidden"></a>
<br><br>[$channelAdminLogEvent](../constructors/channelAdminLogEvent.md) = \['id' => [long](../types/long.md), 'date' => [int](../types/int.md), 'user_id' => [int](../types/int.md), 'action' => [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md), \];<a name="channelAdminLogEvent"></a>
***
<br><br>[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [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), '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), \];<a name="channelFull"></a>
<br><br>[$channelAdminLogEventActionChangeAbout](../constructors/channelAdminLogEventActionChangeAbout.md) = \['prev_value' => [string](../types/string.md), 'new_value' => [string](../types/string.md), \];<a name="channelAdminLogEventActionChangeAbout"></a>
***
<br><br>[$channelAdminLogEventActionChangePhoto](../constructors/channelAdminLogEventActionChangePhoto.md) = \['prev_photo' => [ChatPhoto](../types/ChatPhoto.md), 'new_photo' => [ChatPhoto](../types/ChatPhoto.md), \];<a name="channelAdminLogEventActionChangePhoto"></a>
***
<br><br>[$channelAdminLogEventActionChangeTitle](../constructors/channelAdminLogEventActionChangeTitle.md) = \['prev_value' => [string](../types/string.md), 'new_value' => [string](../types/string.md), \];<a name="channelAdminLogEventActionChangeTitle"></a>
***
<br><br>[$channelAdminLogEventActionChangeUsername](../constructors/channelAdminLogEventActionChangeUsername.md) = \['prev_value' => [string](../types/string.md), 'new_value' => [string](../types/string.md), \];<a name="channelAdminLogEventActionChangeUsername"></a>
***
<br><br>[$channelAdminLogEventActionDeleteMessage](../constructors/channelAdminLogEventActionDeleteMessage.md) = \['message' => [Message](../types/Message.md), \];<a name="channelAdminLogEventActionDeleteMessage"></a>
***
<br><br>[$channelAdminLogEventActionEditMessage](../constructors/channelAdminLogEventActionEditMessage.md) = \['prev_message' => [Message](../types/Message.md), 'new_message' => [Message](../types/Message.md), \];<a name="channelAdminLogEventActionEditMessage"></a>
***
<br><br>[$channelAdminLogEventActionParticipantInvite](../constructors/channelAdminLogEventActionParticipantInvite.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), \];<a name="channelAdminLogEventActionParticipantInvite"></a>
***
<br><br>[$channelAdminLogEventActionParticipantJoin](../constructors/channelAdminLogEventActionParticipantJoin.md) = \[\];<a name="channelAdminLogEventActionParticipantJoin"></a>
***
<br><br>[$channelAdminLogEventActionParticipantLeave](../constructors/channelAdminLogEventActionParticipantLeave.md) = \[\];<a name="channelAdminLogEventActionParticipantLeave"></a>
***
<br><br>[$channelAdminLogEventActionParticipantToggleAdmin](../constructors/channelAdminLogEventActionParticipantToggleAdmin.md) = \['prev_participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'new_participant' => [ChannelParticipant](../types/ChannelParticipant.md), \];<a name="channelAdminLogEventActionParticipantToggleAdmin"></a>
***
<br><br>[$channelAdminLogEventActionParticipantToggleBan](../constructors/channelAdminLogEventActionParticipantToggleBan.md) = \['prev_participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'new_participant' => [ChannelParticipant](../types/ChannelParticipant.md), \];<a name="channelAdminLogEventActionParticipantToggleBan"></a>
***
<br><br>[$channelAdminLogEventActionToggleInvites](../constructors/channelAdminLogEventActionToggleInvites.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionToggleInvites"></a>
***
<br><br>[$channelAdminLogEventActionToggleSignatures](../constructors/channelAdminLogEventActionToggleSignatures.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionToggleSignatures"></a>
***
<br><br>[$channelAdminLogEventActionUpdatePinned](../constructors/channelAdminLogEventActionUpdatePinned.md) = \['message' => [Message](../types/Message.md), \];<a name="channelAdminLogEventActionUpdatePinned"></a>
***
<br><br>[$channelAdminLogEventsFilter](../constructors/channelAdminLogEventsFilter.md) = \['join' => [Bool](../types/Bool.md), 'leave' => [Bool](../types/Bool.md), 'invite' => [Bool](../types/Bool.md), 'ban' => [Bool](../types/Bool.md), 'unban' => [Bool](../types/Bool.md), 'kick' => [Bool](../types/Bool.md), 'unkick' => [Bool](../types/Bool.md), 'promote' => [Bool](../types/Bool.md), 'demote' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), 'settings' => [Bool](../types/Bool.md), 'pinned' => [Bool](../types/Bool.md), 'edit' => [Bool](../types/Bool.md), 'delete' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventsFilter"></a>
***
<br><br>[$channelAdminRights](../constructors/channelAdminRights.md) = \['change_info' => [Bool](../types/Bool.md), 'post_messages' => [Bool](../types/Bool.md), 'edit_messages' => [Bool](../types/Bool.md), 'delete_messages' => [Bool](../types/Bool.md), 'ban_users' => [Bool](../types/Bool.md), 'invite_users' => [Bool](../types/Bool.md), 'invite_link' => [Bool](../types/Bool.md), 'pin_messages' => [Bool](../types/Bool.md), 'add_admins' => [Bool](../types/Bool.md), \];<a name="channelAdminRights"></a>
***
<br><br>[$channelBannedRights](../constructors/channelBannedRights.md) = \['view_messages' => [Bool](../types/Bool.md), 'send_messages' => [Bool](../types/Bool.md), 'send_media' => [Bool](../types/Bool.md), 'send_stickers' => [Bool](../types/Bool.md), 'send_gifs' => [Bool](../types/Bool.md), 'send_games' => [Bool](../types/Bool.md), 'send_inline' => [Bool](../types/Bool.md), 'embed_links' => [Bool](../types/Bool.md), 'until_date' => [int](../types/int.md), \];<a name="channelBannedRights"></a>
***
<br><br>[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'until_date' => [int](../types/int.md), \];<a name="channelForbidden"></a>
***
<br><br>[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), '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), '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), \];<a name="channelFull"></a>
***
<br><br>[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \];<a name="channelMessagesFilter"></a>
@ -115,44 +169,40 @@ description: List of constructors
***
<br><br>[$channelParticipant](../constructors/channelParticipant.md) = \['user_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \];<a name="channelParticipant"></a>
***
<br><br>[$channelParticipantAdmin](../constructors/channelParticipantAdmin.md) = \['can_edit' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'promoted_by' => [int](../types/int.md), 'date' => [int](../types/int.md), 'admin_rights' => [ChannelAdminRights](../types/ChannelAdminRights.md), \];<a name="channelParticipantAdmin"></a>
***
<br><br>[$channelParticipantBanned](../constructors/channelParticipantBanned.md) = \['left' => [Bool](../types/Bool.md), 'user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), 'banned_rights' => [ChannelBannedRights](../types/ChannelBannedRights.md), \];<a name="channelParticipantBanned"></a>
***
<br><br>[$channelParticipantCreator](../constructors/channelParticipantCreator.md) = \['user_id' => [int](../types/int.md), \];<a name="channelParticipantCreator"></a>
***
<br><br>[$channelParticipantEditor](../constructors/channelParticipantEditor.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \];<a name="channelParticipantEditor"></a>
***
<br><br>[$channelParticipantKicked](../constructors/channelParticipantKicked.md) = \['user_id' => [int](../types/int.md), 'kicked_by' => [int](../types/int.md), 'date' => [int](../types/int.md), \];<a name="channelParticipantKicked"></a>
***
<br><br>[$channelParticipantModerator](../constructors/channelParticipantModerator.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \];<a name="channelParticipantModerator"></a>
***
<br><br>[$channelParticipantSelf](../constructors/channelParticipantSelf.md) = \['user_id' => [int](../types/int.md), 'inviter_id' => [int](../types/int.md), 'date' => [int](../types/int.md), \];<a name="channelParticipantSelf"></a>
***
<br><br>[$channelParticipantsAdmins](../constructors/channelParticipantsAdmins.md) = \[\];<a name="channelParticipantsAdmins"></a>
***
<br><br>[$channelParticipantsBanned](../constructors/channelParticipantsBanned.md) = \['q' => [string](../types/string.md), \];<a name="channelParticipantsBanned"></a>
***
<br><br>[$channelParticipantsBots](../constructors/channelParticipantsBots.md) = \[\];<a name="channelParticipantsBots"></a>
***
<br><br>[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \[\];<a name="channelParticipantsKicked"></a>
<br><br>[$channelParticipantsKicked](../constructors/channelParticipantsKicked.md) = \['q' => [string](../types/string.md), \];<a name="channelParticipantsKicked"></a>
***
<br><br>[$channelParticipantsRecent](../constructors/channelParticipantsRecent.md) = \[\];<a name="channelParticipantsRecent"></a>
***
<br><br>[$channelRoleEditor](../constructors/channelRoleEditor.md) = \[\];<a name="channelRoleEditor"></a>
<br><br>[$channelParticipantsSearch](../constructors/channelParticipantsSearch.md) = \['q' => [string](../types/string.md), \];<a name="channelParticipantsSearch"></a>
***
<br><br>[$channelRoleEmpty](../constructors/channelRoleEmpty.md) = \[\];<a name="channelRoleEmpty"></a>
<br><br>[$channels\_adminLogResults](../constructors/channels_adminLogResults.md) = \['events' => \[[ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="channels_adminLogResults"></a>
***
<br><br>[$channelRoleModerator](../constructors/channelRoleModerator.md) = \[\];<a name="channelRoleModerator"></a>
***
<br><br>[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \];<a name="channels_channelParticipant"></a>
[$channels\_channelParticipant](../constructors/channels_channelParticipant.md) = \['participant' => [ChannelParticipant](../types/ChannelParticipant.md), 'users' => \[[User](../types/User.md)\], \];<a name="channels_channelParticipant"></a>
[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="channels_channelParticipants"></a>
@ -205,7 +255,7 @@ description: List of constructors
<br><br>[$client\_DH\_inner\_data](../constructors/client_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'retry_id' => [long](../types/long.md), 'g_b' => [string](../types/string.md), \];<a name="client_DH_inner_data"></a>
***
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
***
<br><br>[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \];<a name="contact"></a>
@ -253,7 +303,7 @@ description: List of constructors
<br><br>[$dataJSON](../constructors/dataJSON.md) = \['data' => [string](../types/string.md), \];<a name="dataJSON"></a>
***
<br><br>[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'cdn' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \];<a name="dcOption"></a>
<br><br>[$dcOption](../constructors/dcOption.md) = \['ipv6' => [Bool](../types/Bool.md), 'media_only' => [Bool](../types/Bool.md), 'tcpo_only' => [Bool](../types/Bool.md), 'cdn' => [Bool](../types/Bool.md), 'static' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'ip_address' => [string](../types/string.md), 'port' => [int](../types/int.md), \];<a name="dcOption"></a>
***
<br><br>[$decryptedDataBlock](../constructors/decryptedDataBlock.md) = \['voice_call_id' => [int128](../types/int128.md), 'in_seq_no' => [int](../types/int.md), 'out_seq_no' => [int](../types/int.md), 'recent_received_mask' => [int](../types/int.md), 'proto' => [int](../types/int.md), 'extra' => [string](../types/string.md), 'raw_data' => [string](../types/string.md), \];<a name="decryptedDataBlock"></a>
@ -455,6 +505,8 @@ description: List of constructors
***
<br><br>[$help\_appUpdate](../constructors/help_appUpdate.md) = \['id' => [int](../types/int.md), 'critical' => [Bool](../types/Bool.md), 'url' => [string](../types/string.md), 'text' => [string](../types/string.md), \];<a name="help_appUpdate"></a>
[$help\_configSimple](../constructors/help_configSimple.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'dc_id' => [int](../types/int.md), 'ip_port_list' => \[[ipPort](../types/ipPort.md)\], \];<a name="help_configSimple"></a>
[$help\_inviteText](../constructors/help_inviteText.md) = \['message' => [string](../types/string.md), \];<a name="help_inviteText"></a>
[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\];<a name="help_noAppUpdate"></a>
@ -760,6 +812,9 @@ description: List of constructors
***
<br><br>[$inputStickerSetID](../constructors/inputStickerSetID.md) = \['id' => [long](../types/long.md), 'access_hash' => [long](../types/long.md), \];<a name="inputStickerSetID"></a>
***
<br><br>[$inputStickerSetItem](../constructors/inputStickerSetItem.md) = \['document' => [InputDocument](../types/InputDocument.md), 'emoji' => [string](../types/string.md), 'mask_coords' => [MaskCoords](../types/MaskCoords.md), \];<a name="inputStickerSetItem"></a>
***
<br><br>[$inputStickerSetShortName](../constructors/inputStickerSetShortName.md) = \['short_name' => [string](../types/string.md), \];<a name="inputStickerSetShortName"></a>
@ -787,6 +842,9 @@ description: List of constructors
***
<br><br>[$invoice](../constructors/invoice.md) = \['test' => [Bool](../types/Bool.md), 'name_requested' => [Bool](../types/Bool.md), 'phone_requested' => [Bool](../types/Bool.md), 'email_requested' => [Bool](../types/Bool.md), 'shipping_address_requested' => [Bool](../types/Bool.md), 'flexible' => [Bool](../types/Bool.md), 'currency' => [string](../types/string.md), 'prices' => \[[LabeledPrice](../types/LabeledPrice.md)\], \];<a name="invoice"></a>
***
<br><br>[$ipPort](../constructors/ipPort.md) = \['ipv4' => [int](../types/int.md), 'port' => [int](../types/int.md), \];<a name="ipPort"></a>
***
<br><br>[$keyboardButton](../constructors/keyboardButton.md) = \['text' => [string](../types/string.md), \];<a name="keyboardButton"></a>
@ -817,6 +875,21 @@ description: List of constructors
***
<br><br>[$labeledPrice](../constructors/labeledPrice.md) = \['label' => [string](../types/string.md), 'amount' => [long](../types/long.md), \];<a name="labeledPrice"></a>
***
<br><br>[$langPackDifference](../constructors/langPackDifference.md) = \['lang_code' => [string](../types/string.md), 'from_version' => [int](../types/int.md), 'version' => [int](../types/int.md), 'strings' => \[[LangPackString](../types/LangPackString.md)\], \];<a name="langPackDifference"></a>
***
<br><br>[$langPackLanguage](../constructors/langPackLanguage.md) = \['name' => [string](../types/string.md), 'native_name' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), \];<a name="langPackLanguage"></a>
***
<br><br>[$langPackString](../constructors/langPackString.md) = \['key' => [string](../types/string.md), 'value' => [string](../types/string.md), \];<a name="langPackString"></a>
***
<br><br>[$langPackStringDeleted](../constructors/langPackStringDeleted.md) = \['key' => [string](../types/string.md), \];<a name="langPackStringDeleted"></a>
***
<br><br>[$langPackStringPluralized](../constructors/langPackStringPluralized.md) = \['key' => [string](../types/string.md), 'zero_value' => [string](../types/string.md), 'one_value' => [string](../types/string.md), 'two_value' => [string](../types/string.md), 'few_value' => [string](../types/string.md), 'many_value' => [string](../types/string.md), 'other_value' => [string](../types/string.md), \];<a name="langPackStringPluralized"></a>
***
<br><br>[$maskCoords](../constructors/maskCoords.md) = \['n' => [int](../types/int.md), 'x' => [double](../types/double.md), 'y' => [double](../types/double.md), 'zoom' => [double](../types/double.md), \];<a name="maskCoords"></a>
@ -1064,6 +1137,9 @@ description: List of constructors
***
<br><br>[$pageBlockAnchor](../constructors/pageBlockAnchor.md) = \['name' => [string](../types/string.md), \];<a name="pageBlockAnchor"></a>
***
<br><br>[$pageBlockAudio](../constructors/pageBlockAudio.md) = \['audio_id' => [long](../types/long.md), 'caption' => [RichText](../types/RichText.md), \];<a name="pageBlockAudio"></a>
***
<br><br>[$pageBlockAuthorDate](../constructors/pageBlockAuthorDate.md) = \['author' => [RichText](../types/RichText.md), 'published_date' => [int](../types/int.md), \];<a name="pageBlockAuthorDate"></a>
@ -1128,10 +1204,10 @@ description: List of constructors
<br><br>[$pageBlockVideo](../constructors/pageBlockVideo.md) = \['autoplay' => [Bool](../types/Bool.md), 'loop' => [Bool](../types/Bool.md), 'video_id' => [long](../types/long.md), 'caption' => [RichText](../types/RichText.md), \];<a name="pageBlockVideo"></a>
***
<br><br>[$pageFull](../constructors/pageFull.md) = \['blocks' => \[[PageBlock](../types/PageBlock.md)\], 'photos' => \[[Photo](../types/Photo.md)\], 'videos' => \[[Document](../types/Document.md)\], \];<a name="pageFull"></a>
<br><br>[$pageFull](../constructors/pageFull.md) = \['blocks' => \[[PageBlock](../types/PageBlock.md)\], 'photos' => \[[Photo](../types/Photo.md)\], 'documents' => \[[Document](../types/Document.md)\], \];<a name="pageFull"></a>
***
<br><br>[$pagePart](../constructors/pagePart.md) = \['blocks' => \[[PageBlock](../types/PageBlock.md)\], 'photos' => \[[Photo](../types/Photo.md)\], 'videos' => \[[Document](../types/Document.md)\], \];<a name="pagePart"></a>
<br><br>[$pagePart](../constructors/pagePart.md) = \['blocks' => \[[PageBlock](../types/PageBlock.md)\], 'photos' => \[[Photo](../types/Photo.md)\], 'documents' => \[[Document](../types/Document.md)\], \];<a name="pagePart"></a>
***
<br><br>[$paymentCharge](../constructors/paymentCharge.md) = \['id' => [string](../types/string.md), 'provider_charge_id' => [string](../types/string.md), \];<a name="paymentCharge"></a>
@ -1436,6 +1512,9 @@ description: List of constructors
***
<br><br>[$topPeerCategoryPeers](../constructors/topPeerCategoryPeers.md) = \['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'count' => [int](../types/int.md), 'peers' => \[[TopPeer](../types/TopPeer.md)\], \];<a name="topPeerCategoryPeers"></a>
***
<br><br>[$topPeerCategoryPhoneCalls](../constructors/topPeerCategoryPhoneCalls.md) = \[\];<a name="topPeerCategoryPhoneCalls"></a>
***
<br><br>[$true](../constructors/true.md) = \[\];<a name="true"></a>
@ -1535,6 +1614,12 @@ description: List of constructors
***
<br><br>[$updateInlineBotCallbackQuery](../constructors/updateInlineBotCallbackQuery.md) = \['query_id' => [long](../types/long.md), 'user_id' => [int](../types/int.md), 'msg_id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'chat_instance' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'game_short_name' => [string](../types/string.md), \];<a name="updateInlineBotCallbackQuery"></a>
***
<br><br>[$updateLangPack](../constructors/updateLangPack.md) = \['difference' => [LangPackDifference](../types/LangPackDifference.md), \];<a name="updateLangPack"></a>
***
<br><br>[$updateLangPackTooLong](../constructors/updateLangPackTooLong.md) = \[\];<a name="updateLangPackTooLong"></a>
***
<br><br>[$updateMessageID](../constructors/updateMessageID.md) = \['id' => [int](../types/int.md), \];<a name="updateMessageID"></a>

View File

@ -0,0 +1,37 @@
---
title: inputStickerSetItem
description: inputStickerSetItem attributes, type and example
---
## Constructor: inputStickerSetItem
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|document|[InputDocument](../types/InputDocument.md) | Yes|
|emoji|[string](../types/string.md) | Yes|
|mask\_coords|[MaskCoords](../types/MaskCoords.md) | Optional|
### Type: [InputStickerSetItem](../types/InputStickerSetItem.md)
### Example:
```
$inputStickerSetItem = ['_' => 'inputStickerSetItem', 'document' => InputDocument, 'emoji' => string, 'mask_coords' => MaskCoords, ];
```
Or, if you're into Lua:
```
inputStickerSetItem={_='inputStickerSetItem', document=InputDocument, emoji=string, mask_coords=MaskCoords, }
```

View File

@ -0,0 +1,36 @@
---
title: ipPort
description: ipPort attributes, type and example
---
## Constructor: ipPort
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|ipv4|[int](../types/int.md) | Yes|
|port|[int](../types/int.md) | Yes|
### Type: [IpPort](../types/IpPort.md)
### Example:
```
$ipPort = ['_' => 'ipPort', 'ipv4' => int, 'port' => int, ];
```
Or, if you're into Lua:
```
ipPort={_='ipPort', ipv4=int, port=int, }
```

View File

@ -0,0 +1,38 @@
---
title: langPackDifference
description: langPackDifference attributes, type and example
---
## Constructor: langPackDifference
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|lang\_code|[string](../types/string.md) | Yes|
|from\_version|[int](../types/int.md) | Yes|
|version|[int](../types/int.md) | Yes|
|strings|Array of [LangPackString](../types/LangPackString.md) | Yes|
### Type: [LangPackDifference](../types/LangPackDifference.md)
### Example:
```
$langPackDifference = ['_' => 'langPackDifference', 'lang_code' => string, 'from_version' => int, 'version' => int, 'strings' => [LangPackString], ];
```
Or, if you're into Lua:
```
langPackDifference={_='langPackDifference', lang_code=string, from_version=int, version=int, strings={LangPackString}, }
```

View File

@ -0,0 +1,37 @@
---
title: langPackLanguage
description: langPackLanguage attributes, type and example
---
## Constructor: langPackLanguage
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|name|[string](../types/string.md) | Yes|
|native\_name|[string](../types/string.md) | Yes|
|lang\_code|[string](../types/string.md) | Yes|
### Type: [LangPackLanguage](../types/LangPackLanguage.md)
### Example:
```
$langPackLanguage = ['_' => 'langPackLanguage', 'name' => string, 'native_name' => string, 'lang_code' => string, ];
```
Or, if you're into Lua:
```
langPackLanguage={_='langPackLanguage', name=string, native_name=string, lang_code=string, }
```

View File

@ -0,0 +1,36 @@
---
title: langPackString
description: langPackString attributes, type and example
---
## Constructor: langPackString
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|key|[string](../types/string.md) | Yes|
|value|[string](../types/string.md) | Yes|
### Type: [LangPackString](../types/LangPackString.md)
### Example:
```
$langPackString = ['_' => 'langPackString', 'key' => string, 'value' => string, ];
```
Or, if you're into Lua:
```
langPackString={_='langPackString', key=string, value=string, }
```

View File

@ -0,0 +1,35 @@
---
title: langPackStringDeleted
description: langPackStringDeleted attributes, type and example
---
## Constructor: langPackStringDeleted
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|key|[string](../types/string.md) | Yes|
### Type: [LangPackString](../types/LangPackString.md)
### Example:
```
$langPackStringDeleted = ['_' => 'langPackStringDeleted', 'key' => string, ];
```
Or, if you're into Lua:
```
langPackStringDeleted={_='langPackStringDeleted', key=string, }
```

View File

@ -0,0 +1,41 @@
---
title: langPackStringPluralized
description: langPackStringPluralized attributes, type and example
---
## Constructor: langPackStringPluralized
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|key|[string](../types/string.md) | Yes|
|zero\_value|[string](../types/string.md) | Optional|
|one\_value|[string](../types/string.md) | Optional|
|two\_value|[string](../types/string.md) | Optional|
|few\_value|[string](../types/string.md) | Optional|
|many\_value|[string](../types/string.md) | Optional|
|other\_value|[string](../types/string.md) | Yes|
### Type: [LangPackString](../types/LangPackString.md)
### Example:
```
$langPackStringPluralized = ['_' => 'langPackStringPluralized', 'key' => string, 'zero_value' => string, 'one_value' => string, 'two_value' => string, 'few_value' => string, 'many_value' => string, 'other_value' => string, ];
```
Or, if you're into Lua:
```
langPackStringPluralized={_='langPackStringPluralized', key=string, zero_value=string, one_value=string, two_value=string, few_value=string, many_value=string, other_value=string, }
```

View File

@ -0,0 +1,36 @@
---
title: pageBlockAudio
description: pageBlockAudio attributes, type and example
---
## Constructor: pageBlockAudio
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|audio\_id|[long](../types/long.md) | Yes|
|caption|[RichText](../types/RichText.md) | Yes|
### Type: [PageBlock](../types/PageBlock.md)
### Example:
```
$pageBlockAudio = ['_' => 'pageBlockAudio', 'audio_id' => long, 'caption' => RichText, ];
```
Or, if you're into Lua:
```
pageBlockAudio={_='pageBlockAudio', audio_id=long, caption=RichText, }
```

View File

@ -13,7 +13,7 @@ description: pageFull attributes, type and example
|----------|:-------------:|---------:|
|blocks|Array of [PageBlock](../types/PageBlock.md) | Yes|
|photos|Array of [Photo](../types/Photo.md) | Yes|
|videos|Array of [Document](../types/Document.md) | Yes|
|documents|Array of [Document](../types/Document.md) | Yes|
@ -23,14 +23,14 @@ description: pageFull attributes, type and example
### Example:
```
$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ];
$pageFull = ['_' => 'pageFull', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document], ];
```
Or, if you're into Lua:
```
pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, videos={Document}, }
pageFull={_='pageFull', blocks={PageBlock}, photos={Photo}, documents={Document}, }
```

View File

@ -13,7 +13,7 @@ description: pagePart attributes, type and example
|----------|:-------------:|---------:|
|blocks|Array of [PageBlock](../types/PageBlock.md) | Yes|
|photos|Array of [Photo](../types/Photo.md) | Yes|
|videos|Array of [Document](../types/Document.md) | Yes|
|documents|Array of [Document](../types/Document.md) | Yes|
@ -23,14 +23,14 @@ description: pagePart attributes, type and example
### Example:
```
$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'videos' => [Document], ];
$pagePart = ['_' => 'pagePart', 'blocks' => [PageBlock], 'photos' => [Photo], 'documents' => [Document], ];
```
Or, if you're into Lua:
```
pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, videos={Document}, }
pagePart={_='pagePart', blocks={PageBlock}, photos={Photo}, documents={Document}, }
```

View File

@ -0,0 +1,30 @@
---
title: topPeerCategoryPhoneCalls
description: topPeerCategoryPhoneCalls attributes, type and example
---
## Constructor: topPeerCategoryPhoneCalls
[Back to constructors index](index.md)
### Type: [TopPeerCategory](../types/TopPeerCategory.md)
### Example:
```
$topPeerCategoryPhoneCalls = ['_' => 'topPeerCategoryPhoneCalls', ];
```
Or, if you're into Lua:
```
topPeerCategoryPhoneCalls={_='topPeerCategoryPhoneCalls', }
```

View File

@ -0,0 +1,35 @@
---
title: updateLangPack
description: updateLangPack attributes, type and example
---
## Constructor: updateLangPack
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|difference|[LangPackDifference](../types/LangPackDifference.md) | Yes|
### Type: [Update](../types/Update.md)
### Example:
```
$updateLangPack = ['_' => 'updateLangPack', 'difference' => LangPackDifference, ];
```
Or, if you're into Lua:
```
updateLangPack={_='updateLangPack', difference=LangPackDifference, }
```

View File

@ -0,0 +1,30 @@
---
title: updateLangPackTooLong
description: updateLangPackTooLong attributes, type and example
---
## Constructor: updateLangPackTooLong
[Back to constructors index](index.md)
### Type: [Update](../types/Update.md)
### Example:
```
$updateLangPackTooLong = ['_' => 'updateLangPackTooLong', ];
```
Or, if you're into Lua:
```
updateLangPackTooLong={_='updateLangPackTooLong', }
```

View File

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

View File

@ -12,7 +12,7 @@ description: channels.editAdmin parameters, return type and example
|----------|:-------------:|---------:|
|channel|[InputChannel](../types/InputChannel.md) | Yes|
|user\_id|[InputUser](../types/InputUser.md) | Yes|
|role|[ChannelParticipantRole](../types/ChannelParticipantRole.md) | Yes|
|admin\_rights|[ChannelAdminRights](../types/ChannelAdminRights.md) | Yes|
### Return type: [Updates](../types/Updates.md)
@ -35,12 +35,12 @@ if (isset($number)) { // Login as a user
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]);
$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'admin_rights' => ChannelAdminRights, ]);
```
Or, if you're into Lua:
```
Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, role=ChannelParticipantRole, })
Updates = channels.editAdmin({channel=InputChannel, user_id=InputUser, admin_rights=ChannelAdminRights, })
```

View File

@ -0,0 +1,46 @@
---
title: channels.editBanned
description: channels.editBanned parameters, return type and example
---
## Method: channels.editBanned
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|channel|[InputChannel](../types/InputChannel.md) | Yes|
|user\_id|[InputUser](../types/InputUser.md) | Yes|
|banned\_rights|[ChannelBannedRights](../types/ChannelBannedRights.md) | Yes|
### Return type: [Updates](../types/Updates.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->editBanned(['channel' => InputChannel, 'user_id' => InputUser, 'banned_rights' => ChannelBannedRights, ]);
```
Or, if you're into Lua:
```
Updates = channels.editBanned({channel=InputChannel, user_id=InputUser, banned_rights=ChannelBannedRights, })
```

View File

@ -0,0 +1,50 @@
---
title: channels.getAdminLog
description: channels.getAdminLog parameters, return type and example
---
## Method: channels.getAdminLog
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|channel|[InputChannel](../types/InputChannel.md) | Yes|
|q|[string](../types/string.md) | Yes|
|events\_filter|[ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md) | Optional|
|admins|Array of [InputUser](../types/InputUser.md) | Optional|
|max\_id|[long](../types/long.md) | Yes|
|min\_id|[long](../types/long.md) | Yes|
|limit|[int](../types/int.md) | Yes|
### Return type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$channels_AdminLogResults = $MadelineProto->channels->getAdminLog(['channel' => InputChannel, 'q' => string, 'events_filter' => ChannelAdminLogEventsFilter, 'admins' => [InputUser], 'max_id' => long, 'min_id' => long, 'limit' => int, ]);
```
Or, if you're into Lua:
```
channels_AdminLogResults = channels.getAdminLog({channel=InputChannel, q=string, events_filter=ChannelAdminLogEventsFilter, admins={InputUser}, max_id=long, min_id=long, limit=int, })
```

View File

@ -13,6 +13,7 @@ description: contacts.getTopPeers parameters, return type and example
|correspondents|[Bool](../types/Bool.md) | Optional|
|bots\_pm|[Bool](../types/Bool.md) | Optional|
|bots\_inline|[Bool](../types/Bool.md) | Optional|
|phone\_calls|[Bool](../types/Bool.md) | Optional|
|groups|[Bool](../types/Bool.md) | Optional|
|channels|[Bool](../types/Bool.md) | Optional|
|offset|[int](../types/int.md) | Yes|
@ -40,12 +41,12 @@ if (isset($number)) { // Login as a user
$MadelineProto->complete_phone_login($code);
}
$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]);
$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'phone_calls' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]);
```
Or, if you're into Lua:
```
contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash=int, })
contacts_TopPeers = contacts.getTopPeers({correspondents=Bool, bots_pm=Bool, bots_inline=Bool, phone_calls=Bool, groups=Bool, channels=Bool, offset=int, limit=int, hash=int, })
```

View File

@ -115,7 +115,9 @@ $MadelineProto->[channels->deleteUserHistory](channels_deleteUserHistory.md)(\['
$MadelineProto->[channels->editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="channels_editAbout"></a>
$MadelineProto->[channels->editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) === [$Updates](../types/Updates.md)<a name="channels_editAdmin"></a>
$MadelineProto->[channels->editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'admin_rights' => [ChannelAdminRights](../types/ChannelAdminRights.md), \]) === [$Updates](../types/Updates.md)<a name="channels_editAdmin"></a>
$MadelineProto->[channels->editBanned](channels_editBanned.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'banned_rights' => [ChannelBannedRights](../types/ChannelBannedRights.md), \]) === [$Updates](../types/Updates.md)<a name="channels_editBanned"></a>
$MadelineProto->[channels->editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) === [$Updates](../types/Updates.md)<a name="channels_editPhoto"></a>
@ -125,6 +127,8 @@ $MadelineProto->[channels->exportInvite](channels_exportInvite.md)(\['channel' =
$MadelineProto->[channels->exportMessageLink](channels_exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) === [$ExportedMessageLink](../types/ExportedMessageLink.md)<a name="channels_exportMessageLink"></a>
$MadelineProto->[channels->getAdminLog](channels_getAdminLog.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'q' => [string](../types/string.md), 'events_filter' => [ChannelAdminLogEventsFilter](../types/ChannelAdminLogEventsFilter.md), 'admins' => \[[InputUser](../types/InputUser.md)\], 'max_id' => [long](../types/long.md), 'min_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) === [$channels\_AdminLogResults](../types/channels_AdminLogResults.md)<a name="channels_getAdminLog"></a>
$MadelineProto->[channels->getAdminedPublicChannels](channels_getAdminedPublicChannels.md)(\[\]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getAdminedPublicChannels"></a>
$MadelineProto->[channels->getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) === [$messages\_Chats](../types/messages_Chats.md)<a name="channels_getChannels"></a>
@ -141,8 +145,6 @@ $MadelineProto->[channels->inviteToChannel](channels_inviteToChannel.md)(\['chan
$MadelineProto->[channels->joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$Updates](../types/Updates.md)<a name="channels_joinChannel"></a>
$MadelineProto->[channels->kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_kickFromChannel"></a>
$MadelineProto->[channels->leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$Updates](../types/Updates.md)<a name="channels_leaveChannel"></a>
$MadelineProto->[channels->readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) === [$Bool](../types/Bool.md)<a name="channels_readHistory"></a>
@ -172,7 +174,7 @@ $MadelineProto->[contacts->getContacts](contacts_getContacts.md)(\['hash' => [st
$MadelineProto->[contacts->getStatuses](contacts_getStatuses.md)(\[\]) === [$Vector\_of\_ContactStatus](../types/ContactStatus.md)<a name="contacts_getStatuses"></a>
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'phone_calls' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$contacts\_TopPeers](../types/contacts_TopPeers.md)<a name="contacts_getTopPeers"></a>
$MadelineProto->[contacts->importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) === [$User](../types/User.md)<a name="contacts_importCard"></a>
@ -219,7 +221,7 @@ $MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputApp
$MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pending_updates_count' => [int](../types/int.md), 'message' => [string](../types/string.md), \]) === [$Bool](../types/Bool.md)<a name="help_setBotUpdatesStatus"></a>
***
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
<br><br>$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'system_lang_code' => [string](../types/string.md), 'lang_pack' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="initConnection"></a>
***
<br><br>$MadelineProto->[invokeAfterMsg](invokeAfterMsg.md)(\['msg_id' => [long](../types/long.md), 'query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeAfterMsg"></a>
@ -233,6 +235,15 @@ $MadelineProto->[help->setBotUpdatesStatus](help_setBotUpdatesStatus.md)(\['pend
***
<br><br>$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) === [$X](../types/X.md)<a name="invokeWithoutUpdates"></a>
***
<br><br>$MadelineProto->[langpack->getDifference](langpack_getDifference.md)(\['from_version' => [int](../types/int.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getDifference"></a>
$MadelineProto->[langpack->getLangPack](langpack_getLangPack.md)(\['lang_code' => [string](../types/string.md), \]) === [$LangPackDifference](../types/LangPackDifference.md)<a name="langpack_getLangPack"></a>
$MadelineProto->[langpack->getLanguages](langpack_getLanguages.md)(\[\]) === [$Vector\_of\_LangPackLanguage](../types/LangPackLanguage.md)<a name="langpack_getLanguages"></a>
$MadelineProto->[langpack->getStrings](langpack_getStrings.md)(\['lang_code' => [string](../types/string.md), 'keys' => \[[string](../types/string.md)\], \]) === [$Vector\_of\_LangPackString](../types/LangPackString.md)<a name="langpack_getStrings"></a>
***
<br><br>$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) === [$EncryptedChat](../types/EncryptedChat.md)<a name="messages_acceptEncryption"></a>
@ -362,7 +373,7 @@ $MadelineProto->[messages->saveGif](messages_saveGif.md)(\['id' => [InputDocumen
$MadelineProto->[messages->saveRecentSticker](messages_saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="messages_saveRecentSticker"></a>
$MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_search"></a>
$MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'from_id' => [InputUser](../types/InputUser.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_search"></a>
$MadelineProto->[messages->searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) === [$messages\_FoundGifs](../types/messages_FoundGifs.md)<a name="messages_searchGifs"></a>
@ -404,6 +415,8 @@ $MadelineProto->[messages->toggleDialogPin](messages_toggleDialogPin.md)(\['pinn
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) === [$Bool](../types/Bool.md)<a name="messages_uninstallStickerSet"></a>
$MadelineProto->[messages->uploadMedia](messages_uploadMedia.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'media' => [InputMedia](../types/InputMedia.md), \]) === [$MessageMedia](../types/MessageMedia.md)<a name="messages_uploadMedia"></a>
***
<br><br>$MadelineProto->[payments->clearSavedInfo](payments_clearSavedInfo.md)(\['credentials' => [Bool](../types/Bool.md), 'info' => [Bool](../types/Bool.md), \]) === [$Bool](../types/Bool.md)<a name="payments_clearSavedInfo"></a>
@ -459,6 +472,15 @@ $MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \
***
<br><br>$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
***
<br><br>$MadelineProto->[stickers->addStickerToSet](stickers_addStickerToSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'sticker' => [InputStickerSetItem](../types/InputStickerSetItem.md), \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_addStickerToSet"></a>
$MadelineProto->[stickers->changeStickerPosition](stickers_changeStickerPosition.md)(\['sticker' => [InputDocument](../types/InputDocument.md), 'position' => [int](../types/int.md), \]) === [$Bool](../types/Bool.md)<a name="stickers_changeStickerPosition"></a>
$MadelineProto->[stickers->createStickerSet](stickers_createStickerSet.md)(\['masks' => [Bool](../types/Bool.md), 'user_id' => [InputUser](../types/InputUser.md), 'title' => [string](../types/string.md), 'short_name' => [string](../types/string.md), 'stickers' => \[[InputStickerSetItem](../types/InputStickerSetItem.md)\], \]) === [$messages\_StickerSet](../types/messages_StickerSet.md)<a name="stickers_createStickerSet"></a>
$MadelineProto->[stickers->removeStickerFromSet](stickers_removeStickerFromSet.md)(\['sticker' => [InputDocument](../types/InputDocument.md), \]) === [$Bool](../types/Bool.md)<a name="stickers_removeStickerFromSet"></a>
***
<br><br>$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['force' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)<a name="updates_getChannelDifference"></a>

View File

@ -14,6 +14,8 @@ description: initConnection parameters, return type and example
|device\_model|[string](../types/string.md) | Yes|
|system\_version|[string](../types/string.md) | Yes|
|app\_version|[string](../types/string.md) | Yes|
|system\_lang\_code|[string](../types/string.md) | Yes|
|lang\_pack|[string](../types/string.md) | Yes|
|lang\_code|[string](../types/string.md) | Yes|
|query|[!X](../types/!X.md) | Yes|
@ -38,12 +40,12 @@ if (isset($number)) { // Login as a user
$MadelineProto->complete_phone_login($code);
}
$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'lang_code' => string, 'query' => !X, ]);
$X = $MadelineProto->initConnection(['api_id' => int, 'device_model' => string, 'system_version' => string, 'app_version' => string, 'system_lang_code' => string, 'lang_pack' => string, 'lang_code' => string, 'query' => !X, ]);
```
Or, if you're into Lua:
```
X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, lang_code=string, query=!X, })
X = initConnection({api_id=int, device_model=string, system_version=string, app_version=string, system_lang_code=string, lang_pack=string, lang_code=string, query=!X, })
```

View File

@ -0,0 +1,44 @@
---
title: langpack.getDifference
description: langpack.getDifference parameters, return type and example
---
## Method: langpack.getDifference
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|from\_version|[int](../types/int.md) | Yes|
### Return type: [LangPackDifference](../types/LangPackDifference.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$LangPackDifference = $MadelineProto->langpack->getDifference(['from_version' => int, ]);
```
Or, if you're into Lua:
```
LangPackDifference = langpack.getDifference({from_version=int, })
```

View File

@ -0,0 +1,44 @@
---
title: langpack.getLangPack
description: langpack.getLangPack parameters, return type and example
---
## Method: langpack.getLangPack
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|lang\_code|[string](../types/string.md) | Yes|
### Return type: [LangPackDifference](../types/LangPackDifference.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$LangPackDifference = $MadelineProto->langpack->getLangPack(['lang_code' => string, ]);
```
Or, if you're into Lua:
```
LangPackDifference = langpack.getLangPack({lang_code=string, })
```

View File

@ -0,0 +1,39 @@
---
title: langpack.getLanguages
description: langpack.getLanguages parameters, return type and example
---
## Method: langpack.getLanguages
[Back to methods index](index.md)
### Return type: [Vector\_of\_LangPackLanguage](../types/LangPackLanguage.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$Vector_of_LangPackLanguage = $MadelineProto->langpack->getLanguages();
```
Or, if you're into Lua:
```
Vector_of_LangPackLanguage = langpack.getLanguages({})
```

View File

@ -0,0 +1,45 @@
---
title: langpack.getStrings
description: langpack.getStrings parameters, return type and example
---
## Method: langpack.getStrings
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|lang\_code|[string](../types/string.md) | Yes|
|keys|Array of [string](../types/string.md) | Yes|
### Return type: [Vector\_of\_LangPackString](../types/LangPackString.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$Vector_of_LangPackString = $MadelineProto->langpack->getStrings(['lang_code' => string, 'keys' => [string], ]);
```
Or, if you're into Lua:
```
Vector_of_LangPackString = langpack.getStrings({lang_code=string, keys={string}, })
```

View File

@ -12,6 +12,7 @@ description: messages.search parameters, return type and example
|----------|:-------------:|---------:|
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|q|[string](../types/string.md) | Yes|
|from\_id|[InputUser](../types/InputUser.md) | Optional|
|filter|[MessagesFilter](../types/MessagesFilter.md) | Yes|
|min\_date|[int](../types/int.md) | Yes|
|max\_date|[int](../types/int.md) | Yes|
@ -40,12 +41,12 @@ if (isset($number)) { // Login as a user
$MadelineProto->complete_phone_login($code);
}
$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]);
$messages_Messages = $MadelineProto->messages->search(['peer' => InputPeer, 'q' => string, 'from_id' => InputUser, 'filter' => MessagesFilter, 'min_date' => int, 'max_date' => int, 'offset' => int, 'max_id' => int, 'limit' => int, ]);
```
Or, if you're into Lua:
```
messages_Messages = messages.search({peer=InputPeer, q=string, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, })
messages_Messages = messages.search({peer=InputPeer, q=string, from_id=InputUser, filter=MessagesFilter, min_date=int, max_date=int, offset=int, max_id=int, limit=int, })
```

View File

@ -0,0 +1,45 @@
---
title: messages.uploadMedia
description: messages.uploadMedia parameters, return type and example
---
## Method: messages.uploadMedia
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|media|[InputMedia](../types/InputMedia.md) | Yes|
### Return type: [MessageMedia](../types/MessageMedia.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$MessageMedia = $MadelineProto->messages->uploadMedia(['peer' => InputPeer, 'media' => InputMedia, ]);
```
Or, if you're into Lua:
```
MessageMedia = messages.uploadMedia({peer=InputPeer, media=InputMedia, })
```

View File

@ -0,0 +1,45 @@
---
title: stickers.addStickerToSet
description: stickers.addStickerToSet parameters, return type and example
---
## Method: stickers.addStickerToSet
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|stickerset|[InputStickerSet](../types/InputStickerSet.md) | Yes|
|sticker|[InputStickerSetItem](../types/InputStickerSetItem.md) | Yes|
### Return type: [messages\_StickerSet](../types/messages_StickerSet.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$messages_StickerSet = $MadelineProto->stickers->addStickerToSet(['stickerset' => InputStickerSet, 'sticker' => InputStickerSetItem, ]);
```
Or, if you're into Lua:
```
messages_StickerSet = stickers.addStickerToSet({stickerset=InputStickerSet, sticker=InputStickerSetItem, })
```

View File

@ -0,0 +1,45 @@
---
title: stickers.changeStickerPosition
description: stickers.changeStickerPosition parameters, return type and example
---
## Method: stickers.changeStickerPosition
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|sticker|[InputDocument](../types/InputDocument.md) | Yes|
|position|[int](../types/int.md) | Yes|
### Return type: [Bool](../types/Bool.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->stickers->changeStickerPosition(['sticker' => InputDocument, 'position' => int, ]);
```
Or, if you're into Lua:
```
Bool = stickers.changeStickerPosition({sticker=InputDocument, position=int, })
```

View File

@ -0,0 +1,48 @@
---
title: stickers.createStickerSet
description: stickers.createStickerSet parameters, return type and example
---
## Method: stickers.createStickerSet
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|masks|[Bool](../types/Bool.md) | Optional|
|user\_id|[InputUser](../types/InputUser.md) | Yes|
|title|[string](../types/string.md) | Yes|
|short\_name|[string](../types/string.md) | Yes|
|stickers|Array of [InputStickerSetItem](../types/InputStickerSetItem.md) | Yes|
### Return type: [messages\_StickerSet](../types/messages_StickerSet.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$messages_StickerSet = $MadelineProto->stickers->createStickerSet(['masks' => Bool, 'user_id' => InputUser, 'title' => string, 'short_name' => string, 'stickers' => [InputStickerSetItem], ]);
```
Or, if you're into Lua:
```
messages_StickerSet = stickers.createStickerSet({masks=Bool, user_id=InputUser, title=string, short_name=string, stickers={InputStickerSetItem}, })
```

View File

@ -0,0 +1,44 @@
---
title: stickers.removeStickerFromSet
description: stickers.removeStickerFromSet parameters, return type and example
---
## Method: stickers.removeStickerFromSet
[Back to methods index](index.md)
### Parameters:
| Name | Type | Required |
|----------|:-------------:|---------:|
|sticker|[InputDocument](../types/InputDocument.md) | Yes|
### Return type: [Bool](../types/Bool.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
if (isset($token)) { // Login as a bot
$MadelineProto->bot_login($token);
}
if (isset($number)) { // Login as a user
$sentCode = $MadelineProto->phone_login($number);
echo 'Enter the code you received: ';
$code = '';
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
$code .= fgetc(STDIN);
}
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->stickers->removeStickerFromSet(['sticker' => InputDocument, ]);
```
Or, if you're into Lua:
```
Bool = stickers.removeStickerFromSet({sticker=InputDocument, })
```

View File

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

View File

@ -0,0 +1,45 @@
---
title: ChannelAdminLogEventAction
description: constructors and methods of type ChannelAdminLogEventAction
---
## Type: ChannelAdminLogEventAction
[Back to types index](index.md)
### Possible values (constructors):
[channelAdminLogEventActionChangeTitle](../constructors/channelAdminLogEventActionChangeTitle.md)
[channelAdminLogEventActionChangeAbout](../constructors/channelAdminLogEventActionChangeAbout.md)
[channelAdminLogEventActionChangeUsername](../constructors/channelAdminLogEventActionChangeUsername.md)
[channelAdminLogEventActionChangePhoto](../constructors/channelAdminLogEventActionChangePhoto.md)
[channelAdminLogEventActionToggleInvites](../constructors/channelAdminLogEventActionToggleInvites.md)
[channelAdminLogEventActionToggleSignatures](../constructors/channelAdminLogEventActionToggleSignatures.md)
[channelAdminLogEventActionUpdatePinned](../constructors/channelAdminLogEventActionUpdatePinned.md)
[channelAdminLogEventActionEditMessage](../constructors/channelAdminLogEventActionEditMessage.md)
[channelAdminLogEventActionDeleteMessage](../constructors/channelAdminLogEventActionDeleteMessage.md)
[channelAdminLogEventActionParticipantJoin](../constructors/channelAdminLogEventActionParticipantJoin.md)
[channelAdminLogEventActionParticipantLeave](../constructors/channelAdminLogEventActionParticipantLeave.md)
[channelAdminLogEventActionParticipantInvite](../constructors/channelAdminLogEventActionParticipantInvite.md)
[channelAdminLogEventActionParticipantToggleBan](../constructors/channelAdminLogEventActionParticipantToggleBan.md)
[channelAdminLogEventActionParticipantToggleAdmin](../constructors/channelAdminLogEventActionParticipantToggleAdmin.md)
### Methods that return an object of this type (methods):

View File

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

View File

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

View File

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

View File

@ -13,14 +13,12 @@ description: constructors and methods of type ChannelParticipant
[channelParticipantSelf](../constructors/channelParticipantSelf.md)
[channelParticipantModerator](../constructors/channelParticipantModerator.md)
[channelParticipantEditor](../constructors/channelParticipantEditor.md)
[channelParticipantKicked](../constructors/channelParticipantKicked.md)
[channelParticipantCreator](../constructors/channelParticipantCreator.md)
[channelParticipantAdmin](../constructors/channelParticipantAdmin.md)
[channelParticipantBanned](../constructors/channelParticipantBanned.md)
### Methods that return an object of this type (methods):

View File

@ -17,6 +17,10 @@ description: constructors and methods of type ChannelParticipantsFilter
[channelParticipantsBots](../constructors/channelParticipantsBots.md)
[channelParticipantsBanned](../constructors/channelParticipantsBanned.md)
[channelParticipantsSearch](../constructors/channelParticipantsSearch.md)
### Methods that return an object of this type (methods):

View File

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

View File

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

View File

@ -0,0 +1,23 @@
---
title: LangPackDifference
description: constructors and methods of type LangPackDifference
---
## Type: LangPackDifference
[Back to types index](index.md)
### Possible values (constructors):
[langPackDifference](../constructors/langPackDifference.md)
### Methods that return an object of this type (methods):
[$MadelineProto->langpack->getLangPack](../methods/langpack_getLangPack.md)
[$MadelineProto->langpack->getDifference](../methods/langpack_getDifference.md)

View File

@ -0,0 +1,21 @@
---
title: LangPackLanguage
description: constructors and methods of type LangPackLanguage
---
## Type: LangPackLanguage
[Back to types index](index.md)
### Possible values (constructors):
[langPackLanguage](../constructors/langPackLanguage.md)
### Methods that return an object of this type (methods):
[$MadelineProto->langpack->getLanguages](../methods/langpack_getLanguages.md)

View File

@ -0,0 +1,25 @@
---
title: LangPackString
description: constructors and methods of type LangPackString
---
## Type: LangPackString
[Back to types index](index.md)
### Possible values (constructors):
[langPackString](../constructors/langPackString.md)
[langPackStringPluralized](../constructors/langPackStringPluralized.md)
[langPackStringDeleted](../constructors/langPackStringDeleted.md)
### Methods that return an object of this type (methods):
[$MadelineProto->langpack->getStrings](../methods/langpack_getStrings.md)

View File

@ -35,5 +35,7 @@ description: constructors and methods of type MessageMedia
[$MadelineProto->messages->getWebPagePreview](../methods/messages_getWebPagePreview.md)
[$MadelineProto->messages->uploadMedia](../methods/messages_uploadMedia.md)

View File

@ -53,6 +53,8 @@ description: constructors and methods of type PageBlock
[pageBlockChannel](../constructors/pageBlockChannel.md)
[pageBlockAudio](../constructors/pageBlockAudio.md)
### Methods that return an object of this type (methods):

View File

@ -19,6 +19,8 @@ description: constructors and methods of type TopPeerCategory
[topPeerCategoryChannels](../constructors/topPeerCategoryChannels.md)
[topPeerCategoryPhoneCalls](../constructors/topPeerCategoryPhoneCalls.md)
### Methods that return an object of this type (methods):

View File

@ -131,6 +131,10 @@ Contains notifications about data changes
[updatePhoneCall](../constructors/updatePhoneCall.md)
[updateLangPackTooLong](../constructors/updateLangPackTooLong.md)
[updateLangPack](../constructors/updateLangPack.md)
### Methods that return an object of this type (methods):

View File

@ -77,8 +77,6 @@ description: constructors and methods of type Updates
[$MadelineProto->channels->inviteToChannel](../methods/channels_inviteToChannel.md)
[$MadelineProto->channels->kickFromChannel](../methods/channels_kickFromChannel.md)
[$MadelineProto->channels->deleteChannel](../methods/channels_deleteChannel.md)
[$MadelineProto->channels->toggleInvites](../methods/channels_toggleInvites.md)
@ -87,6 +85,8 @@ description: constructors and methods of type Updates
[$MadelineProto->channels->updatePinnedMessage](../methods/channels_updatePinnedMessage.md)
[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md)
[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md)
[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md)

View File

@ -0,0 +1,21 @@
---
title: channels_AdminLogResults
description: constructors and methods of type channels_AdminLogResults
---
## Type: channels\_AdminLogResults
[Back to types index](index.md)
### Possible values (constructors):
[channels\_adminLogResults](../constructors/channels_adminLogResults.md)
### Methods that return an object of this type (methods):
[$MadelineProto->channels->getAdminLog](../methods/channels_getAdminLog.md)

View File

@ -0,0 +1,19 @@
---
title: help_ConfigSimple
description: constructors and methods of type help_ConfigSimple
---
## 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):

View File

@ -26,12 +26,20 @@ description: List of types
[CdnPublicKey](CdnPublicKey.md)<a name="CdnPublicKey"></a>
[ChannelAdminLogEvent](ChannelAdminLogEvent.md)<a name="ChannelAdminLogEvent"></a>
[ChannelAdminLogEventAction](ChannelAdminLogEventAction.md)<a name="ChannelAdminLogEventAction"></a>
[ChannelAdminLogEventsFilter](ChannelAdminLogEventsFilter.md)<a name="ChannelAdminLogEventsFilter"></a>
[ChannelAdminRights](ChannelAdminRights.md)<a name="ChannelAdminRights"></a>
[ChannelBannedRights](ChannelBannedRights.md)<a name="ChannelBannedRights"></a>
[ChannelMessagesFilter](ChannelMessagesFilter.md)<a name="ChannelMessagesFilter"></a>
[ChannelParticipant](ChannelParticipant.md)<a name="ChannelParticipant"></a>
[ChannelParticipantRole](ChannelParticipantRole.md)<a name="ChannelParticipantRole"></a>
[ChannelParticipantsFilter](ChannelParticipantsFilter.md)<a name="ChannelParticipantsFilter"></a>
[Chat](Chat.md)<a name="Chat"></a>
@ -168,6 +176,8 @@ description: List of types
[InputStickerSet](InputStickerSet.md)<a name="InputStickerSet"></a>
[InputStickerSetItem](InputStickerSetItem.md)<a name="InputStickerSetItem"></a>
[InputStickeredMedia](InputStickeredMedia.md)<a name="InputStickeredMedia"></a>
[InputUser](InputUser.md)<a name="InputUser"></a>
@ -178,12 +188,20 @@ description: List of types
[Invoice](Invoice.md)<a name="Invoice"></a>
[IpPort](IpPort.md)<a name="IpPort"></a>
[KeyboardButton](KeyboardButton.md)<a name="KeyboardButton"></a>
[KeyboardButtonRow](KeyboardButtonRow.md)<a name="KeyboardButtonRow"></a>
[LabeledPrice](LabeledPrice.md)<a name="LabeledPrice"></a>
[LangPackDifference](LangPackDifference.md)<a name="LangPackDifference"></a>
[LangPackLanguage](LangPackLanguage.md)<a name="LangPackLanguage"></a>
[LangPackString](LangPackString.md)<a name="LangPackString"></a>
[MaskCoords](MaskCoords.md)<a name="MaskCoords"></a>
[Message](Message.md)<a name="Message"></a>
@ -344,6 +362,8 @@ description: List of types
[auth\_SentCodeType](auth_SentCodeType.md)<a name="auth_SentCodeType"></a>
[channels\_AdminLogResults](channels_AdminLogResults.md)<a name="channels_AdminLogResults"></a>
[channels\_ChannelParticipant](channels_ChannelParticipant.md)<a name="channels_ChannelParticipant"></a>
[channels\_ChannelParticipants](channels_ChannelParticipants.md)<a name="channels_ChannelParticipants"></a>
@ -364,6 +384,8 @@ description: List of types
[help\_AppUpdate](help_AppUpdate.md)<a name="help_AppUpdate"></a>
[help\_ConfigSimple](help_ConfigSimple.md)<a name="help_ConfigSimple"></a>
[help\_InviteText](help_InviteText.md)<a name="help_InviteText"></a>
[help\_Support](help_Support.md)<a name="help_Support"></a>

View File

@ -17,5 +17,9 @@ description: constructors and methods of type messages_StickerSet
[$MadelineProto->messages->getStickerSet](../methods/messages_getStickerSet.md)
[$MadelineProto->stickers->createStickerSet](../methods/stickers_createStickerSet.md)
[$MadelineProto->stickers->addStickerToSet](../methods/stickers_addStickerToSet.md)

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

@ -0,0 +1,36 @@
---
title: account.noPassword
description: account_noPassword attributes, type and example
---
## Constructor: account.noPassword
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|new\_salt|[bytes](../types/bytes.md) | Yes|
|email\_unconfirmed\_pattern|[string](../types/string.md) | Yes|
### Type: [account\_Password](../types/account_Password.md)
### Example:
```
$account_noPassword = ['_' => 'account.noPassword', 'new_salt' => bytes, 'email_unconfirmed_pattern' => string, ];
```
Or, if you're into Lua:
```
account_noPassword={_='account.noPassword', new_salt=bytes, email_unconfirmed_pattern=string, }
```

View File

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

View File

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

View File

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

View File

@ -0,0 +1,36 @@
---
title: account.privacyRules
description: account_privacyRules attributes, type and example
---
## Constructor: account.privacyRules
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|rules|Array of [PrivacyRule](../types/PrivacyRule.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [account\_PrivacyRules](../types/account_PrivacyRules.md)
### Example:
```
$account_privacyRules = ['_' => 'account.privacyRules', 'rules' => [PrivacyRule], 'users' => [User], ];
```
Or, if you're into Lua:
```
account_privacyRules={_='account.privacyRules', rules={PrivacyRule}, users={User}, }
```

View File

@ -0,0 +1,36 @@
---
title: account.tmpPassword
description: account_tmpPassword attributes, type and example
---
## Constructor: account.tmpPassword
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|tmp\_password|[bytes](../types/bytes.md) | Yes|
|valid\_until|[int](../types/int.md) | Yes|
### Type: [account\_TmpPassword](../types/account_TmpPassword.md)
### Example:
```
$account_tmpPassword = ['_' => 'account.tmpPassword', 'tmp_password' => bytes, 'valid_until' => int, ];
```
Or, if you're into Lua:
```
account_tmpPassword={_='account.tmpPassword', tmp_password=bytes, valid_until=int, }
```

View File

@ -0,0 +1,36 @@
---
title: auth.authorization
description: auth_authorization attributes, type and example
---
## Constructor: auth.authorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|tmp\_sessions|[int](../types/int.md) | Optional|
|user|[User](../types/User.md) | Yes|
### Type: [auth\_Authorization](../types/auth_Authorization.md)
### Example:
```
$auth_authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User, ];
```
Or, if you're into Lua:
```
auth_authorization={_='auth.authorization', tmp_sessions=int, user=User, }
```

View File

@ -0,0 +1,35 @@
---
title: auth.checkedPhone
description: auth_checkedPhone attributes, type and example
---
## Constructor: auth.checkedPhone
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|phone\_registered|[Bool](../types/Bool.md) | Yes|
### Type: [auth\_CheckedPhone](../types/auth_CheckedPhone.md)
### Example:
```
$auth_checkedPhone = ['_' => 'auth.checkedPhone', 'phone_registered' => Bool, ];
```
Or, if you're into Lua:
```
auth_checkedPhone={_='auth.checkedPhone', phone_registered=Bool, }
```

View File

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

View File

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

View File

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

View File

@ -0,0 +1,36 @@
---
title: auth.exportedAuthorization
description: auth_exportedAuthorization attributes, type and example
---
## Constructor: auth.exportedAuthorization
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[int](../types/int.md) | Yes|
|bytes|[bytes](../types/bytes.md) | Yes|
### Type: [auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
### Example:
```
$auth_exportedAuthorization = ['_' => 'auth.exportedAuthorization', 'id' => int, 'bytes' => bytes, ];
```
Or, if you're into Lua:
```
auth_exportedAuthorization={_='auth.exportedAuthorization', id=int, bytes=bytes, }
```

View File

@ -0,0 +1,35 @@
---
title: auth.passwordRecovery
description: auth_passwordRecovery attributes, type and example
---
## Constructor: auth.passwordRecovery
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|email\_pattern|[string](../types/string.md) | Yes|
### Type: [auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
### Example:
```
$auth_passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => string, ];
```
Or, if you're into Lua:
```
auth_passwordRecovery={_='auth.passwordRecovery', email_pattern=string, }
```

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