dialogFilter
Dialog filter AKA folder
type tg.DialogFilter struct { /* ... */ }
Implements DialogFilter.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Contacts | bool | — | Whether to include all contacts in this folder |
NonContacts | bool | — | Whether to include all non-contacts in this folder |
Groups | bool | — | Whether to include all groups in this folder |
Broadcasts | bool | — | Whether to include all channels in this folder |
Bots | bool | — | Whether to include all bots in this folder |
ExcludeMuted | bool | — | Whether to exclude muted chats from this folder |
ExcludeRead | bool | — | Whether to exclude read chats from this folder |
ExcludeArchived | bool | — | Whether to exclude archived chats from this folder |
TitleNoanimate | bool | — | 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 | — | Emoji to use as icon for the folder. |
Color | int | — | A color ID for the folder tag associated to this folder, see here » for more info. |
PinnedPeers | []InputPeerClass | yes | Pinned chats, folders can have unlimited pinned chats |
IncludePeers | []InputPeerClass | yes | Include the following chats in this folder |
ExcludePeers | []InputPeerClass | yes | Exclude the following chats from this folder |
References
- Official documentation
- Generated Go reference
- TL definition:
dialogFilter#aa472651