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

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

We blocked a peer, see here » for more info on blocklists.

Constructors

new
UpdatePeerBlocked_(params: { blocked?: true; blocked_my_stories_from?: true; peer_id: enums.Peer; })

Properties

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

Whether the peer was blocked or unblocked

optional
blocked_my_stories_from: true

Whether the peer was added/removed to/from the story blocklist; if not set, this update affects the main blocklist, see here » for more info.

peer_id: enums.Peer

The (un)blocked peer

Static Properties

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