class types.Channel
extends _TypeChat
import { types } from "https://deno.land/x/mtkruto@0.0.998/2_tl.ts";
const { Channel } = types;
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
[params]: Paramsoptional
adminRights: TypeChatAdminRightsoptional
bannedRights: TypeChatBannedRightsoptional
defaultBannedRights: TypeChatBannedRightsphoto: TypeChatPhoto
optional
restrictionReason: Array<TypeRestrictionReason>optional
usernames: Array<TypeUsername>Static Properties
readonly
[paramDesc]: ParamDesc