dialogFilter #

Dialog filter AKA folder

Layer 223

dialogFilter#aa472651 flags:# contacts:flags.0?true non_contacts:flags.1?true groups:flags.2?true broadcasts:flags.3?true bots:flags.4?true exclude_muted:flags.11?true exclude_read:flags.12?true exclude_archived:flags.13?true title_noanimate:flags.28?true id:int title:TextWithEntities emoticon:flags.25?string color:flags.27?int pinned_peers:Vector<InputPeer> include_peers:Vector<InputPeer> exclude_peers:Vector<InputPeer> = DialogFilter;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
contactsflags.0?trueWhether to include all contacts in this folder
non_contactsflags.1?trueWhether to include all non-contacts in this folder
groupsflags.2?trueWhether to include all groups in this folder
broadcastsflags.3?trueWhether to include all channels in this folder
botsflags.4?trueWhether to include all bots in this folder
exclude_mutedflags.11?trueWhether to exclude muted chats from this folder
exclude_readflags.12?trueWhether to exclude read chats from this folder
exclude_archivedflags.13?trueWhether to exclude archived chats from this folder
title_noanimateflags.28?trueIf set, any animated emojis present in title should not be animated and should be instead frozen on the first frame.
idintFolder ID
titleTextWithEntitiesFolder name (max 12 UTF-8 chars)
emoticonflags.25?stringEmoji to use as icon for the folder.
colorflags.27?intA color ID for the folder tag associated to this folder, see here » for more info.
pinned_peersVector<InputPeer>Pinned chats, folders can have unlimited pinned chats
include_peersVector<InputPeer>Include the following chats in this folder
exclude_peersVector<InputPeer>Exclude the following chats from this folder

Type #

DialogFilter

Dialog folders #

Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.