Raw.DialogFilter
Dialog filter aka folder
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;export namespace Raw {
export class DialogFilter {
constructor(params: {
contacts?: boolean;
nonContacts?: boolean;
groups?: boolean;
broadcasts?: boolean;
bots?: boolean;
excludeMuted?: boolean;
excludeRead?: boolean;
excludeArchived?: boolean;
titleNoanimate?: boolean;
id: number;
title: Raw.TypeTextWithEntities;
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: 201
Constructor ID: 0xaa472651
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
titleNoanimate: boolean or undefinedid: numberFolder id
title: Raw.TypeTextWithEntitiesFolder 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