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

x/mtkruto/tl/3_functions.ts>messages_toggleDialogPin_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class messages_toggleDialogPin_
extends Function_<boolean>
import { messages_toggleDialogPin_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Pin/unpin a dialog

Constructors

new
messages_toggleDialogPin_(params: { pinned?: true; peer: enums.InputDialogPeer; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
peer: enums.InputDialogPeer

The dialog to pin

optional
pinned: true

Whether to pin or unpin the dialog

Static Properties

__F: (params: { pinned?: true; peer: enums.InputDialogPeer; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc