Layer 220
constructor
dialogFilterChatlist#96537bd7 flags:# has_my_invites:flags.26?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> = DialogFilter;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
HasMyInvites flags.26?true Whether the current user has created some chat folder deep links to share the folder as well.
TitleNoanimate flags.28?true If set, any animated emojis present in title should not be animated and should be instead frozen on the first frame.
Id int ID of the folder
Title TextWithEntities Name of the folder (max 12 UTF-8 chars)
Emoticon flags.25?string Emoji to use as icon for the folder.
Color flags.27?int A color ID for the folder tag associated to this folder, see here for more info.
PinnedPeers Vector<InputPeer> Pinned chats, folders can have unlimited pinned chats
IncludePeers Vector<InputPeer> Chats to include in the folder

Returns

DialogFilter

Gogram Example

// Creating DialogFilterChatlist constructor
obj := &tg.DialogFilterChatlist{
    Id: 0,
    Title: &tg.TextWithEntities{},
    PinnedPeers: []tg.InputPeer{&tg.InputPeerUser{UserID: int64(123456789)}},
    IncludePeers: []tg.InputPeer{&tg.InputPeerUser{UserID: int64(123456789)}},

    // Optional fields:
    // HasMyInvites: true,
    // TitleNoanimate: true,
    // Emoticon: "...",
    // Color: 0,
}