telegram api constructor · layer 229 · #aa472651

dialogFilter

Dialog filter AKA folder

definition

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 · other constructors: dialogFilterDefault, dialogFilterChatlist

history

present in layers 111–229 · constructor id changed 2×

idlayers
#7438f7e8111–175
#5fb5523b176–195
#aa472651196–229