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

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

Indicates a channel/supergroup we can't access because we were banned, or for some other reason.

Constructors

new
ChannelForbidden_(params: { broadcast?: true; megagroup?: true; id: bigint; access_hash: bigint; title: string; until_date?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
access_hash: bigint

Access hash

optional
broadcast: true

Is this a channel

id: bigint

Channel ID

optional
megagroup: true

Is this a supergroup

title: string

Title

optional
until_date: number

The ban is valid until the specified date

Static Properties

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