Skip to main content

dialogFilter

Dialog filter AKA folder

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

Implements DialogFilter.

Fields

NameTypeRequiredDescription
ContactsboolWhether to include all contacts in this folder
NonContactsboolWhether to include all non-contacts in this folder
GroupsboolWhether to include all groups in this folder
BroadcastsboolWhether to include all channels in this folder
BotsboolWhether to include all bots in this folder
ExcludeMutedboolWhether to exclude muted chats from this folder
ExcludeReadboolWhether to exclude read chats from this folder
ExcludeArchivedboolWhether to exclude archived chats from this folder
TitleNoanimateboolIf 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)
EmoticonstringEmoji to use as icon for the folder.
ColorintA 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