Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>Channel

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Channel
extends _TypeChat
import { Channel } from "https://deno.land/x/mtkruto@0.0.995/tl/2_types.ts";

Constructors

new
Channel(params: { creator?: true; left?: true; broadcast?: true; verified?: true; megagroup?: true; restricted?: true; signatures?: true; min?: true; scam?: true; hasLink?: true; hasGeo?: true; slowmodeEnabled?: true; callActive?: true; callNotEmpty?: true; fake?: true; gigagroup?: true; noforwards?: true; joinToSend?: true; joinRequest?: true; forum?: true; id: bigint; accessHash?: bigint; title: string; username?: string; photo: TypeChatPhoto; date: number; restrictionReason?: Array<TypeRestrictionReason>; adminRights?: TypeChatAdminRights; bannedRights?: TypeChatBannedRights; defaultBannedRights?: TypeChatBannedRights; participantsCount?: number; usernames?: Array<TypeUsername>; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
accessHash: bigint
optional
adminRights: TypeChatAdminRights
optional
bannedRights: TypeChatBannedRights
optional
broadcast: true
optional
callActive: true
optional
callNotEmpty: true
optional
creator: true
date: number
optional
defaultBannedRights: TypeChatBannedRights
optional
fake: true
optional
forum: true
optional
gigagroup: true
optional
hasGeo: true
id: bigint
optional
joinRequest: true
optional
joinToSend: true
optional
left: true
optional
megagroup: true
optional
min: true
optional
noforwards: true
optional
participantsCount: number
optional
restricted: true
optional
restrictionReason: Array<TypeRestrictionReason>
optional
scam: true
optional
signatures: true
optional
slowmodeEnabled: true
title: string
optional
username: string
optional
usernames: Array<TypeUsername>
optional
verified: true

Static Properties

readonly
[paramDesc]: ParamDesc