Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>DialogFilter_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class DialogFilter_
import { DialogFilter_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Dialog filter AKA folder

Constructors

new
DialogFilter_(params: { contacts?: true; non_contacts?: true; groups?: true; broadcasts?: true; bots?: true; exclude_muted?: true; exclude_read?: true; exclude_archived?: true; id: number; title: string; emoticon?: string; color?: number; pinned_peers: Array<enums.InputPeer>; include_peers: Array<enums.InputPeer>; exclude_peers: Array<enums.InputPeer>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
bots: true

Whether to include all bots in this folder

optional
broadcasts: true

Whether to include all channels in this folder

optional
color: number
optional
contacts: true

Whether to include all contacts in this folder

optional
emoticon: string

Emoji to use as icon for the folder.

optional
exclude_archived: true

Whether to exclude archived chats from this folder

optional
exclude_muted: true

Whether to exclude muted chats from this folder

exclude_peers: Array<enums.InputPeer>

Exclude the following chats from this folder

optional
exclude_read: true

Whether to exclude read chats from this folder

optional
groups: true

Whether to include all groups in this folder

id: number

Folder ID

include_peers: Array<enums.InputPeer>

Include the following chats in this folder

optional
non_contacts: true

Whether to include all non-contacts in this folder

pinned_peers: Array<enums.InputPeer>

Pinned chats, folders can have unlimited pinned chats

title: string

Folder name

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc