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>contacts_block_

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

Adds a peer to a blocklist, see here » for more info.

Constructors

new
contacts_block_(params: { my_stories_from?: true; id: enums.InputPeer; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
id: enums.InputPeer

Peer

optional
my_stories_from: true

Whether the peer should be added to the story blocklist; if not set, the peer will be added to the main blocklist, see here » for more info.

Static Properties

__F: (params: { my_stories_from?: true; id: enums.InputPeer; }) => boolean
readonly
[name]: string
readonly
[paramDesc]: ParamDesc