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 undefinedCan we view the participant list?
canSetUsername
: boolean or undefinedCan we set the channel’s username?
canSetStickers
: boolean or undefinedCan we associate a stickerpack to the supergroup?
hiddenPrehistory
: boolean or undefinedIs the history before we joined hidden to us?
canSetLocation
: boolean or undefinedCan we set the geolocation of this group (for geogroups)
hasScheduled
: boolean or undefinedWhether scheduled messages are available
canViewStats
: boolean or undefinedCan the user view channel/supergroup statistics
blocked
: boolean or undefinedWhether 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 undefinedCan we delete this channel?
antispam
: boolean or undefinedWhether native antispam functionality is enabled in this supergroup.
participantsHidden
: boolean or undefinedWhether the participant list is hidden.
translationsDisabled
: boolean or undefinedWhether the real-time chat translation popup should be hidden.
storiesPinnedAvailable
: boolean or undefinedWhether this user has some pinned stories.
viewForumAsMessages
: boolean or undefinedUsers 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 undefinedWhether ads on this channel were disabled as specified here (this flag is only visible to the owner of the channel).
canViewRevenue
: boolean or undefinedIf set, this user can view ad revenue statistics for this channel.
paidMediaAllowed
: boolean or undefinedcanViewStarsRevenue
: boolean or undefinedid
: bigintId of the channel
about
: stringInfo about the channel
participantsCount
: number or undefinedNumber of participants of the channel
adminsCount
: number or undefinedNumber of channel admins
kickedCount
: number or undefinedNumber of users kicked from the channel
bannedCount
: number or undefinedNumber of users banned from the channel
onlineCount
: number or undefinedNumber of users currently online
readInboxMaxId
: numberPosition up to which all incoming messages are read.
readOutboxMaxId
: numberPosition up to which all outgoing messages are read.
unreadCount
: numberCount of unread messages
chatPhoto
: Raw.TypePhotoChannel picture
notifySettings
: Raw.TypePeerNotifySettingsNotification settings
exportedInvite
: Raw.TypeExportedChatInvite or undefinedInvite link
botInfo
: Array of Raw.TypeBotInfoInfo about bots in the channel/supergroup
migratedFromChatId
: bigint or undefinedThe chat id from which this group was migrated
migratedFromMaxId
: number or undefinedThe message id in the original chat at which this group was migrated
pinnedMsgId
: number or undefinedMessage id of the last pinned message
stickerset
: Raw.TypeStickerSet or undefinedAssociated stickerset
availableMinId
: number or undefinedIdentifier of a maximum unavailable message in a channel due to hidden history.
folderId
: number or undefinedPeer folder id, for more info click here
linkedChatId
: bigint or undefinedId of the linked discussion chat for channels
location
: Raw.TypeChannelLocation or undefinedLocation of the geogroup
slowmodeSeconds
: number or undefinedIf specified, users in supergroups will only be able to send one message every slowmodeSeconds seconds
slowmodeNextSendDate
: number or undefinedIndicates when the user will be allowed to send another message in the supergroup (unixtime)
statsDc
: number or undefinedIf set, specifies the dc to use for fetching channel statistics
pts
: numberLatest pts for this channel
call
: Raw.TypeInputGroupCall or undefinedLivestream or group call information
ttlPeriod
: number or undefinedTime-to-live of messages in this channel or supergroup
pendingSuggestions
: Array of string or undefinedA list of suggested actions for the supergroup admin, see here for more info.
groupcallDefaultJoinAs
: Raw.TypePeer or undefinedWhen 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 undefinedEmoji representing a specific chat theme
requestsPending
: number or undefinedPending join requests
recentRequesters
: Array of bigint or undefinedIds of users who requested to join recently
defaultSendAs
: Raw.TypePeer or undefinedDefault peer used for sending messages to this channel
availableReactions
: Raw.TypeChatReactions or undefinedAllowed message reactions
reactionsLimit
: number or undefinedThis flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appconfig.reactionsUniqMax).
stories
: Raw.TypePeerStories or undefinedChannel stories
wallpaper
: Raw.TypeWallPaper or undefinedWallpaper
boostsApplied
: number or undefinedThe number of boosts the current user has applied to the current supergroup.
boostsUnrestrict
: number or undefinedThe number of boosts this supergroup requires to bypass slowmode and other restrictions, see here for more info.
emojiset
: Raw.TypeStickerSet or undefinedCustom emoji stickerset associated to the current supergroup, set using channels.setemojistickers after reaching the appropriate boost level, see here for more info.