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 _Chat_
import { Channel_ } from "https://deno.land/x/mtkruto@0.1.130/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; has_link?: true; has_geo?: true; slowmode_enabled?: true; call_active?: true; call_not_empty?: true; fake?: true; gigagroup?: true; noforwards?: true; join_to_send?: true; join_request?: true; forum?: true; stories_hidden?: true; stories_hidden_min?: true; stories_unavailable?: true; id: bigint; access_hash?: bigint; title: string; username?: string; photo: enums.ChatPhoto; date: number; restriction_reason?: Array<enums.RestrictionReason>; admin_rights?: enums.ChatAdminRights; banned_rights?: enums.ChatBannedRights; default_banned_rights?: enums.ChatBannedRights; participants_count?: number; usernames?: Array<enums.Username>; stories_max_id?: number; color?: enums.PeerColor; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
access_hash: bigint
optional
admin_rights: enums.ChatAdminRights
optional
banned_rights: enums.ChatBannedRights
optional
broadcast: true
optional
call_active: true
optional
call_not_empty: true
optional
color: enums.PeerColor
optional
creator: true
date: number
optional
default_banned_rights: enums.ChatBannedRights
optional
fake: true
optional
forum: true
optional
gigagroup: true
optional
has_geo: true
id: bigint
optional
join_request: true
optional
join_to_send: true
optional
left: true
optional
megagroup: true
optional
min: true
optional
noforwards: true
optional
participants_count: number
optional
restricted: true
optional
restriction_reason: Array<enums.RestrictionReason>
optional
scam: true
optional
signatures: true
optional
slowmode_enabled: true
optional
stories_hidden: true
optional
stories_hidden_min: true
optional
stories_max_id: number
optional
stories_unavailable: true
title: string
optional
username: string
optional
usernames: Array<enums.Username>
optional
verified: true

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc