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_toggleSavedDialogPin_

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

Pin or unpin a saved message dialog ».

Constructors

new
messages_toggleSavedDialogPin_(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