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 |
id | int | Yes | Folder ID |
title | string | Yes | Folder name |
emoticon | string | Optional | Emoji to use as icon for the folder. |
color | int | Optional | |
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, 'id' => int, 'title' => 'string', 'emoticon' => 'string', 'color' => int, 'pinned_peers' => [InputPeer, InputPeer], 'include_peers' => [InputPeer, InputPeer], 'exclude_peers' => [InputPeer, InputPeer]];