Raw.DialogFilter
Dialog filter aka folder
dialogFilter#5fb5523b 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 id:int title:string emoticon:flags.25?string color:flags.27?int pinned_peers:Vector<InputPeer> include_peers:Vector<InputPeer> exclude_peers:Vector<InputPeer> = DialogFilter;
export namespace Raw {
export class DialogFilter {
constructor(params: {
contacts?: boolean;
nonContacts?: boolean;
groups?: boolean;
broadcasts?: boolean;
bots?: boolean;
excludeMuted?: boolean;
excludeRead?: boolean;
excludeArchived?: boolean;
id: number;
title: string;
emoticon?: string;
color?: number;
pinnedPeers: Array<Raw.TypeInputPeer>;
includePeers: Array<Raw.TypeInputPeer>;
excludePeers: Array<Raw.TypeInputPeer>;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x5fb5523b
Property
contacts
: boolean or undefinedWhether to include all contacts in this folder
nonContacts
: boolean or undefinedWhether to include all non-contacts in this folder
groups
: boolean or undefinedWhether to include all groups in this folder
broadcasts
: boolean or undefinedWhether to include all channels in this folder
bots
: boolean or undefinedWhether to include all bots in this folder
excludeMuted
: boolean or undefinedWhether to exclude muted chats from this folder
excludeRead
: boolean or undefinedWhether to exclude read chats from this folder
excludeArchived
: boolean or undefinedWhether to exclude archived chats from this folder
id
: numberFolder id
title
: stringFolder name (max 12 utf-8 chars)
emoticon
: string or undefinedEmoji to use as icon for the folder.
color
: number or undefinedA color id for the folder tag associated to this folder, see here for more info.
pinnedPeers
: Array of Raw.TypeInputPeerPinned chats, folders can have unlimited pinned chats
includePeers
: Array of Raw.TypeInputPeerInclude the following chats in this folder
excludePeers
: Array of Raw.TypeInputPeerExclude the following chats from this folder