Skip to main content

dialogFilter

Dialog filter AKA folder

type tg.DialogFilter struct { /* ... */ }

Implements DialogFilter.

Fields​

NameTypeRequiredDescription
Contactsbool—Whether to include all contacts in this folder
NonContactsbool—Whether to include all non-contacts in this folder
Groupsbool—Whether to include all groups in this folder
Broadcastsbool—Whether to include all channels in this folder
Botsbool—Whether to include all bots in this folder
ExcludeMutedbool—Whether to exclude muted chats from this folder
ExcludeReadbool—Whether to exclude read chats from this folder
ExcludeArchivedbool—Whether to exclude archived chats from this folder
TitleNoanimatebool—If set, any animated emojis present in title should not be animated and should be instead frozen on the first frame.
IDintyesFolder ID
TitleTextWithEntitiesyesFolder name (max 12 UTF-8 chars)
Emoticonstring—Emoji to use as icon for the folder.
Colorint—A color ID for the folder tag associated to this folder, see here » for more info.
PinnedPeers[]InputPeerClassyesPinned chats, folders can have unlimited pinned chats
IncludePeers[]InputPeerClassyesInclude the following chats in this folder
ExcludePeers[]InputPeerClassyesExclude the following chats from this folder

References​