Constructor: dialogFilter
Dialog filter AKA folder
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| contacts | Bool | Optional | Whether to include all contacts in this folder |
| non_contacts | Bool | Optional | Whether to include all non-contacts in this folder |
| groups | Bool | Optional | Whether to include all groups in this folder |
| broadcasts | Bool | Optional | Whether to include all channels in this folder |
| bots | Bool | Optional | Whether to include all bots in this folder |
| exclude_muted | Bool | Optional | Whether to exclude muted chats from this folder |
| exclude_read | Bool | Optional | Whether to exclude read chats from this folder |
| exclude_archived | Bool | Optional | Whether to exclude archived chats from this folder |
| title_noanimate | Bool | Optional | If set, any animated emojis present in title should not be animated and should be instead frozen on the first frame. |
| id | int | Yes | Folder ID |
| title | TextWithEntities | Yes | Folder name (max 12 UTF-8 chars) |
| emoticon | string | Optional | Emoji to use as icon for the folder. |
| color | int | Optional | A color ID for the folder tag associated to this folder, see here » for more info. |
| pinned_peers | Array of InputPeer | Yes | Pinned chats, folders can have unlimited pinned chats |
| include_peers | Array of InputPeer | Yes | Include the following chats in this folder |
| exclude_peers | Array of InputPeer | Yes | Exclude the following chats from this folder |
Type: DialogFilter
Example:
$dialogFilter = ['_' => 'dialogFilter', 'contacts' => Bool, 'non_contacts' => Bool, 'groups' => Bool, 'broadcasts' => Bool, 'bots' => Bool, 'exclude_muted' => Bool, 'exclude_read' => Bool, 'exclude_archived' => Bool, 'title_noanimate' => Bool, 'id' => int, 'title' => TextWithEntities, 'emoticon' => 'string', 'color' => int, 'pinned_peers' => [InputPeer, InputPeer], 'include_peers' => [InputPeer, InputPeer], 'exclude_peers' => [InputPeer, InputPeer]];