Raw.ChannelFull

Raw.ChannelFull

Full info about a channel, supergroup or gigagroup.

channelFull#bbab348d flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true flags2:# can_delete_channel:flags2.0?true antispam:flags2.1?true participants_hidden:flags2.2?true translations_disabled:flags2.3?true stories_pinned_available:flags2.5?true view_forum_as_messages:flags2.6?true restricted_sponsored:flags2.11?true can_view_revenue:flags2.12?true paid_media_allowed:flags2.14?true can_view_stars_revenue:flags2.15?true id:long about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?long migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?long location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?ChatReactions reactions_limit:flags2.13?int stories:flags2.4?PeerStories wallpaper:flags2.7?WallPaper boosts_applied:flags2.8?int boosts_unrestrict:flags2.9?int emojiset:flags2.10?StickerSet = ChatFull;
export namespace Raw {
  export class ChannelFull {
    constructor(params: {
      canViewParticipants?: boolean;
      canSetUsername?: boolean;
      canSetStickers?: boolean;
      hiddenPrehistory?: boolean;
      canSetLocation?: boolean;
      hasScheduled?: boolean;
      canViewStats?: boolean;
      blocked?: boolean;
      canDeleteChannel?: boolean;
      antispam?: boolean;
      participantsHidden?: boolean;
      translationsDisabled?: boolean;
      storiesPinnedAvailable?: boolean;
      viewForumAsMessages?: boolean;
      restrictedSponsored?: boolean;
      canViewRevenue?: boolean;
      paidMediaAllowed?: boolean;
      canViewStarsRevenue?: boolean;
      id: bigint;
      about: string;
      participantsCount?: number;
      adminsCount?: number;
      kickedCount?: number;
      bannedCount?: number;
      onlineCount?: number;
      readInboxMaxId: number;
      readOutboxMaxId: number;
      unreadCount: number;
      chatPhoto: Raw.TypePhoto;
      notifySettings: Raw.TypePeerNotifySettings;
      exportedInvite?: Raw.TypeExportedChatInvite;
      botInfo: Array<Raw.TypeBotInfo>;
      migratedFromChatId?: bigint;
      migratedFromMaxId?: number;
      pinnedMsgId?: number;
      stickerset?: Raw.TypeStickerSet;
      availableMinId?: number;
      folderId?: number;
      linkedChatId?: bigint;
      location?: Raw.TypeChannelLocation;
      slowmodeSeconds?: number;
      slowmodeNextSendDate?: number;
      statsDc?: number;
      pts: number;
      call?: Raw.TypeInputGroupCall;
      ttlPeriod?: number;
      pendingSuggestions?: Array<string>;
      groupcallDefaultJoinAs?: Raw.TypePeer;
      themeEmoticon?: string;
      requestsPending?: number;
      recentRequesters?: Array<bigint>;
      defaultSendAs?: Raw.TypePeer;
      availableReactions?: Raw.TypeChatReactions;
      reactionsLimit?: number;
      stories?: Raw.TypePeerStories;
      wallpaper?: Raw.TypeWallPaper;
      boostsApplied?: number;
      boostsUnrestrict?: number;
      emojiset?: Raw.TypeStickerSet;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xbbab348d

Property

  • canViewParticipants : boolean or undefined

    Can we view the participant list?

  • canSetUsername : boolean or undefined

    Can we set the channel’s username?

  • canSetStickers : boolean or undefined

    Can we associate a stickerpack to the supergroup?

  • hiddenPrehistory : boolean or undefined

    Is the history before we joined hidden to us?

  • canSetLocation : boolean or undefined

    Can we set the geolocation of this group (for geogroups)

  • hasScheduled : boolean or undefined

    Whether scheduled messages are available

  • canViewStats : boolean or undefined

    Can the user view channel/supergroup statistics

  • blocked : boolean or undefined

    Whether any anonymous admin of this supergroup was blocked: if set, you won’t receive messages from anonymous group admins in discussion replies via @replies

  • canDeleteChannel : boolean or undefined

    Can we delete this channel?

  • antispam : boolean or undefined

    Whether native antispam functionality is enabled in this supergroup.

  • participantsHidden : boolean or undefined

    Whether the participant list is hidden.

  • translationsDisabled : boolean or undefined

    Whether the real-time chat translation popup should be hidden.

  • storiesPinnedAvailable : boolean or undefined

    Whether this user has some pinned stories.

  • viewForumAsMessages : boolean or undefined

    Users may also choose to display messages from all topics of a forum as if they were sent to a normal group, using a “view as messages” setting in the local client. this setting only affects the current account, and is synced to other logged in sessions using the channels.toggleviewforumasmessages method; invoking this method will update the value of this flag.

  • restrictedSponsored : boolean or undefined

    Whether ads on this channel were disabled as specified here (this flag is only visible to the owner of the channel).

  • canViewRevenue : boolean or undefined

    If set, this user can view ad revenue statistics for this channel.

  • paidMediaAllowed : boolean or undefined
  • canViewStarsRevenue : boolean or undefined
  • id : bigint

    Id of the channel

  • about : string

    Info about the channel

  • participantsCount : number or undefined

    Number of participants of the channel

  • adminsCount : number or undefined

    Number of channel admins

  • kickedCount : number or undefined

    Number of users kicked from the channel

  • bannedCount : number or undefined

    Number of users banned from the channel

  • onlineCount : number or undefined

    Number of users currently online

  • readInboxMaxId : number

    Position up to which all incoming messages are read.

  • readOutboxMaxId : number

    Position up to which all outgoing messages are read.

  • unreadCount : number

    Count of unread messages

  • chatPhoto : Raw.TypePhoto

    Channel picture

  • notifySettings : Raw.TypePeerNotifySettings

    Notification settings

  • exportedInvite : Raw.TypeExportedChatInvite or undefined

    Invite link

  • botInfo : Array of Raw.TypeBotInfo

    Info about bots in the channel/supergroup

  • migratedFromChatId : bigint or undefined

    The chat id from which this group was migrated

  • migratedFromMaxId : number or undefined

    The message id in the original chat at which this group was migrated

  • pinnedMsgId : number or undefined

    Message id of the last pinned message

  • stickerset : Raw.TypeStickerSet or undefined

    Associated stickerset

  • availableMinId : number or undefined

    Identifier of a maximum unavailable message in a channel due to hidden history.

  • folderId : number or undefined

    Peer folder id, for more info click here

  • linkedChatId : bigint or undefined

    Id of the linked discussion chat for channels

  • location : Raw.TypeChannelLocation or undefined

    Location of the geogroup

  • slowmodeSeconds : number or undefined

    If specified, users in supergroups will only be able to send one message every slowmodeSeconds seconds

  • slowmodeNextSendDate : number or undefined

    Indicates when the user will be allowed to send another message in the supergroup (unixtime)

  • statsDc : number or undefined

    If set, specifies the dc to use for fetching channel statistics

  • pts : number

    Latest pts for this channel

  • call : Raw.TypeInputGroupCall or undefined

    Livestream or group call information

  • ttlPeriod : number or undefined

    Time-to-live of messages in this channel or supergroup

  • pendingSuggestions : Array of string or undefined

    A list of suggested actions for the supergroup admin, see here for more info.

  • groupcallDefaultJoinAs : Raw.TypePeer or undefined

    When using phone.getgroupcalljoinas to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.

  • themeEmoticon : string or undefined

    Emoji representing a specific chat theme

  • requestsPending : number or undefined

    Pending join requests

  • recentRequesters : Array of bigint or undefined

    Ids of users who requested to join recently

  • defaultSendAs : Raw.TypePeer or undefined

    Default peer used for sending messages to this channel

  • availableReactions : Raw.TypeChatReactions or undefined

    Allowed message reactions

  • reactionsLimit : number or undefined

    This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appconfig.reactionsUniqMax).

  • stories : Raw.TypePeerStories or undefined

    Channel stories

  • wallpaper : Raw.TypeWallPaper or undefined

    Wallpaper

  • boostsApplied : number or undefined

    The number of boosts the current user has applied to the current supergroup.

  • boostsUnrestrict : number or undefined

    The number of boosts this supergroup requires to bypass slowmode and other restrictions, see here for more info.

  • emojiset : Raw.TypeStickerSet or undefined

    Custom emoji stickerset associated to the current supergroup, set using channels.setemojistickers after reaching the appropriate boost level, see here for more info.