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