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

x/grm/mod.ts>Api.Channel

MTProto API Client for Deno 🦕
Go to Latest
class Api.Channel
extends VirtualClass<{ creator?: boolean; left?: boolean; broadcast?: boolean; verified?: boolean; megagroup?: boolean; restricted?: boolean; signatures?: boolean; min?: boolean; scam?: boolean; hasLink?: boolean; hasGeo?: boolean; slowmodeEnabled?: boolean; callActive?: boolean; callNotEmpty?: boolean; fake?: boolean; gigagroup?: boolean; noforwards?: boolean; joinToSend?: boolean; joinRequest?: boolean; id: long; accessHash?: long; title: string; username?: string; photo: Api.TypeChatPhoto; date: int; restrictionReason?: Api.TypeRestrictionReason[]; adminRights?: Api.TypeChatAdminRights; bannedRights?: Api.TypeChatBannedRights; defaultBannedRights?: Api.TypeChatBannedRights; participantsCount?: int; }>
import { Api } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { Channel } = Api;

Properties

optional
accessHash: long
optional
adminRights: Api.TypeChatAdminRights
optional
bannedRights: Api.TypeChatBannedRights
optional
broadcast: boolean
optional
callActive: boolean
optional
callNotEmpty: boolean
className: "Channel"
classType: "constructor"
CONSTRUCTOR_ID: 2187439201
optional
creator: boolean
date: int
optional
defaultBannedRights: Api.TypeChatBannedRights
optional
fake: boolean
optional
gigagroup: boolean
optional
hasGeo: boolean
id: long
optional
joinRequest: boolean
optional
joinToSend: boolean
optional
left: boolean
optional
megagroup: boolean
optional
min: boolean
optional
noforwards: boolean
optional
participantsCount: int
optional
restricted: boolean
optional
restrictionReason: Api.TypeRestrictionReason[]
optional
scam: boolean
optional
signatures: boolean
optional
slowmodeEnabled: boolean
SUBCLASS_OF_ID: 3316604308
title: string
optional
username: string
optional
verified: boolean