Raw.Channel

Raw.Channel

Channel/supergroup info

channel#aadfc8f flags:# creator:flags.0?true left:flags.2?true broadcast:flags.5?true verified:flags.7?true megagroup:flags.8?true restricted:flags.9?true signatures:flags.11?true min:flags.12?true scam:flags.19?true has_link:flags.20?true has_geo:flags.21?true slowmode_enabled:flags.22?true call_active:flags.23?true call_not_empty:flags.24?true fake:flags.25?true gigagroup:flags.26?true noforwards:flags.27?true join_to_send:flags.28?true join_request:flags.29?true forum:flags.30?true flags2:# stories_hidden:flags2.1?true stories_hidden_min:flags2.2?true stories_unavailable:flags2.3?true id:long access_hash:flags.13?long title:string username:flags.6?string photo:ChatPhoto date:int restriction_reason:flags.9?Vector<RestrictionReason> admin_rights:flags.14?ChatAdminRights banned_rights:flags.15?ChatBannedRights default_banned_rights:flags.18?ChatBannedRights participants_count:flags.17?int usernames:flags2.0?Vector<Username> stories_max_id:flags2.4?int color:flags2.7?PeerColor profile_color:flags2.8?PeerColor emoji_status:flags2.9?EmojiStatus level:flags2.10?int = Chat;
export namespace Raw {
  export class Channel {
    constructor(params: {
      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;
      storiesHidden?: boolean;
      storiesHiddenMin?: boolean;
      storiesUnavailable?: boolean;
      id: bigint;
      accessHash?: bigint;
      title: string;
      username?: string;
      photo: Raw.TypeChatPhoto;
      date: number;
      restrictionReason?: Array<Raw.TypeRestrictionReason>;
      adminRights?: Raw.TypeChatAdminRights;
      bannedRights?: Raw.TypeChatBannedRights;
      defaultBannedRights?: Raw.TypeChatBannedRights;
      participantsCount?: number;
      usernames?: Array<Raw.TypeUsername>;
      storiesMaxId?: number;
      color?: Raw.TypePeerColor;
      profileColor?: Raw.TypePeerColor;
      emojiStatus?: Raw.TypeEmojiStatus;
      level?: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xaadfc8f

Property