class tl.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 { tl } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { Channel } = tl.Api;
Properties
optional
adminRights: Api.TypeChatAdminRightsoptional
bannedRights: Api.TypeChatBannedRightsoptional
defaultBannedRights: Api.TypeChatBannedRightsphoto: Api.TypeChatPhoto
optional
restrictionReason: Api.TypeRestrictionReason[]Static Methods
fromReader(reader: Reader): Channel