ChannelFull
- class pyrogram.raw.types.ChannelFull
Full info about a channel, supergroup or gigagroup.
Constructor of
ChatFull.- Details:
Layer:
223ID:
E4E0B29D
- Parameters:
id (
int64-bit) – ID of the channelabout (
str) – Info about the channelread_inbox_max_id (
int32-bit) – Position up to which all incoming messages are read.read_outbox_max_id (
int32-bit) – Position up to which all outgoing messages are read.unread_count (
int32-bit) – Count of unread messageschat_photo (
Photo) – Channel picturenotify_settings (
PeerNotifySettings) – Notification settingsbot_info (List of
BotInfo) – Info about bots in the channel/supergrouppts (
int32-bit) – Latest PTS for this channelcan_view_participants (
bool, optional) – Can we view the participant list?can_set_username (
bool, optional) – Can we set the channel’s username?can_set_stickers (
bool, optional) – Can we associate a stickerpack to the supergroup?hidden_prehistory (
bool, optional) – Is the history before we joined hidden to us?can_set_location (
bool, optional) – Can we set the geolocation of this group (for geogroups)has_scheduled (
bool, optional) – Whether scheduled messages are availablecan_view_stats (
bool, optional) – Can the user view channel/supergroup statisticsblocked (
bool, optional) – Whether any anonymous admin of this supergroup was blocked: if set, you won’t receive messages from anonymous group admins in discussion replies via @repliescan_delete_channel (
bool, optional) – Can we delete this channel?antispam (
bool, optional) – Whether native antispam functionality is enabled in this supergroup.participants_hidden (
bool, optional) – Whether the participant list is hidden.translations_disabled (
bool, optional) – Whether the real-time chat translation popup should be hidden.stories_pinned_available (
bool, optional) – Whether this user has some pinned stories.view_forum_as_messages (
bool, optional) – 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.restricted_sponsored (
bool, optional) – Whether ads on this channel were disabled as specified here » (this flag is only visible to the owner of the channel).can_view_revenue (
bool, optional) – If set, this user can view ad revenue statistics » for this channel.paid_media_allowed (
bool, optional) – Whether the current user can send or forward paid media » to this channel.can_view_stars_revenue (
bool, optional) – If set, this user can view Telegram Star revenue statistics » for this channel.paid_reactions_available (
bool, optional) – If set, users may send paid Telegram Star reactions » to messages of this channel.stargifts_available (
bool, optional) – If set, users may send Gifts » to this channel.paid_messages_available (
bool, optional) – If set, admins may enable enable paid messages » in this supergroup.participants_count (
int32-bit, optional) – Number of participants of the channeladmins_count (
int32-bit, optional) – Number of channel adminskicked_count (
int32-bit, optional) – Number of users kicked from the channelbanned_count (
int32-bit, optional) – Number of users banned from the channelonline_count (
int32-bit, optional) – Number of users currently onlineexported_invite (
ExportedChatInvite, optional) – Invite linkmigrated_from_chat_id (
int64-bit, optional) – The chat ID from which this group was migratedmigrated_from_max_id (
int32-bit, optional) – The message ID in the original chat at which this group was migratedpinned_msg_id (
int32-bit, optional) – Message ID of the last pinned messagestickerset (
StickerSet, optional) – Associated stickersetavailable_min_id (
int32-bit, optional) – Identifier of a maximum unavailable message in a channel due to hidden history.folder_id (
int32-bit, optional) – Peer folder ID, for more info click herelinked_chat_id (
int64-bit, optional) – ID of the linked discussion chat for channels (and vice versa, the ID of the linked channel for discussion chats).location (
ChannelLocation, optional) – Location of the geogroupslowmode_seconds (
int32-bit, optional) – If specified, users in supergroups will only be able to send one message every slowmode_seconds secondsslowmode_next_send_date (
int32-bit, optional) – Indicates when the user will be allowed to send another message in the supergroup (unixtime)stats_dc (
int32-bit, optional) – If set, specifies the DC to use for fetching channel statisticscall (
InputGroupCall, optional) – Livestream or group call informationttl_period (
int32-bit, optional) – Time-To-Live of messages in this channel or supergrouppending_suggestions (List of
str, optional) – A list of suggested actions for the supergroup admin, see here for more info ».groupcall_default_join_as (
Peer, optional) – 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.theme_emoticon (
str, optional) – Emoji representing a specific chat themerequests_pending (
int32-bit, optional) – Pending join requests »recent_requesters (List of
int64-bit, optional) – IDs of users who requested to join recentlydefault_send_as (
Peer, optional) – Default peer used for sending messages to this channelavailable_reactions (
ChatReactions, optional) – Allowed message reactions »reactions_limit (
int32-bit, optional) – This flag may be used to impose a custom limit of unique reactions (i.e. a customizable version of appConfig.reactions_uniq_max).stories (
PeerStories, optional) – Channel storieswallpaper (
WallPaper, optional) – Wallpaperboosts_applied (
int32-bit, optional) – The number of boosts the current user has applied to the current supergroup.boosts_unrestrict (
int32-bit, optional) – The number of boosts this supergroup requires to bypass slowmode and other restrictions, see here » for more info.emojiset (
StickerSet, optional) – Custom emoji stickerset associated to the current supergroup, set using channels.setEmojiStickers after reaching the appropriate boost level, see here » for more info.bot_verification (
BotVerification, optional) – Bot verification iconstargifts_count (
int32-bit, optional) – Admins with chatAdminRights.post_messages rights will see the total number of received gifts, everyone else will see the number of gifts added to the channel’s profile.send_paid_messages_stars (
int64-bit, optional) – If set and bigger than 0, this supergroup, monoforum or the monoforum associated to this channel has enabled paid messages » and we must pay the specified amount of Stars to send messages to it, see here » for the full flow. This flag will be set both for the monoforum and for channelFull of the associated channel). If set and equal to 0, the monoforum requires payment in general but we were exempted from paying.main_tab (
ProfileTab, optional) – The main tab for the channel’s profile, see here » for more info.
TL Schema
channelFull#e4e0b29d
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
paid_reactions_available:flags2.16?true
stargifts_available:flags2.19?true
paid_messages_available:flags2.20?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
bot_verification:flags2.17?BotVerification
stargifts_count:flags2.18?int
send_paid_messages_stars:flags2.21?long
main_tab:flags2.22?ProfileTab
= ChatFull
Parameter Tree
true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)longstringint (optional)int (optional)int (optional)int (optional)int (optional)intintintPhotoPhotoEmptylongPhototrue (optional)longlongbytesintVector < PhotoSize >PhotoSizeEmptystringPhotoSizestringintintintPhotoCachedSizestringintintbytesPhotoStrippedSizestringbytesPhotoSizeProgressivestringintintVector < int >PhotoPathSizestringbytesVector < VideoSize > (optional)VideoSizestringintintintdouble (optional)VideoSizeEmojiMarkuplongVector < int >VideoSizeStickerMarkupInputStickerSetInputStickerSetEmptyInputStickerSetIDInputStickerSetShortNameInputStickerSetAnimatedEmojiInputStickerSetDiceInputStickerSetAnimatedEmojiAnimationsInputStickerSetPremiumGiftsInputStickerSetEmojiGenericAnimationsInputStickerSetEmojiDefaultStatusesInputStickerSetEmojiDefaultTopicIconsInputStickerSetTonGiftslongVector < int >intPeerNotifySettingsPeerNotifySettingsBool (optional)Bool (optional)int (optional)NotificationSound (optional)NotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringNotificationSoundRingtonelongNotificationSound (optional)NotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringNotificationSoundRingtonelongNotificationSound (optional)NotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringNotificationSoundRingtonelongBool (optional)Bool (optional)NotificationSound (optional)NotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringNotificationSoundRingtonelongNotificationSound (optional)NotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringNotificationSoundRingtonelongNotificationSound (optional)NotificationSoundDefaultNotificationSoundNoneNotificationSoundLocalstringstringlongExportedChatInvite (optional)ChatInviteExportedtrue (optional)true (optional)true (optional)stringlongintint (optional)int (optional)int (optional)int (optional)int (optional)int (optional)string (optional)StarsSubscriptionPricing (optional)StarsSubscriptionPricingintlongVector < BotInfo >BotInfotrue (optional)long (optional)string (optional)Photo (optional)PhotoEmptylongPhototrue (optional)longlongbytesintVector < PhotoSize >PhotoSizeEmptyPhotoSizePhotoCachedSizePhotoStrippedSizePhotoSizeProgressivePhotoPathSizeVector < VideoSize > (optional)VideoSizeVideoSizeEmojiMarkupVideoSizeStickerMarkupintDocument (optional)DocumentEmptylongDocumentlonglongbytesintstringlongVector < PhotoSize > (optional)PhotoSizeEmptyPhotoSizePhotoCachedSizePhotoStrippedSizePhotoSizeProgressivePhotoPathSizeVector < VideoSize > (optional)VideoSizeVideoSizeEmojiMarkupVideoSizeStickerMarkupintVector < DocumentAttribute >DocumentAttributeImageSizeDocumentAttributeAnimatedDocumentAttributeStickerDocumentAttributeVideoDocumentAttributeAudioDocumentAttributeFilenameDocumentAttributeHasStickersDocumentAttributeCustomEmojiVector < BotCommand > (optional)BotCommandstringstringBotMenuButton (optional)BotMenuButtonDefaultBotMenuButtonCommandsBotMenuButtonstringstringstring (optional)BotAppSettings (optional)BotAppSettingsbytes (optional)int (optional)int (optional)int (optional)int (optional)BotVerifierSettings (optional)BotVerifierSettingstrue (optional)longstringstring (optional)long (optional)int (optional)int (optional)StickerSet (optional)StickerSettrue (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)int (optional)longlongstringstringVector < PhotoSize > (optional)PhotoSizeEmptystringPhotoSizestringintintintPhotoCachedSizestringintintbytesPhotoStrippedSizestringbytesPhotoSizeProgressivestringintintVector < int >PhotoPathSizestringbytesint (optional)int (optional)long (optional)intintint (optional)int (optional)long (optional)ChannelLocation (optional)ChannelLocationEmptyChannelLocationGeoPointGeoPointEmptyGeoPointdoubledoublelongint (optional)stringint (optional)int (optional)int (optional)intInputGroupCall (optional)InputGroupCalllonglongInputGroupCallSlugstringintint (optional)Vector < string > (optional)Peer (optional)PeerUserlongPeerChatlongPeerChannellongstring (optional)int (optional)Vector < long > (optional)Peer (optional)PeerUserlongPeerChatlongPeerChannellongChatReactions (optional)ChatReactionsNoneChatReactionsAlltrue (optional)ChatReactionsSomeVector < Reaction >ReactionEmptyReactionEmojistringReactionCustomEmojilongReactionPaidint (optional)PeerStories (optional)PeerStoriesPeerPeerUserlongPeerChatlongPeerChannellongint (optional)Vector < StoryItem >StoryItemDeletedintStoryItemSkippedtrue (optional)true (optional)intintintStoryItemtrue (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)intintPeer (optional)PeerUserPeerChatPeerChannelStoryFwdHeader (optional)StoryFwdHeaderintstring (optional)Vector < MessageEntity > (optional)MessageEntityUnknownMessageEntityMentionMessageEntityHashtagMessageEntityBotCommandMessageEntityUrlMessageEntityEmailMessageEntityBoldMessageEntityItalicMessageEntityCodeMessageEntityPreMessageEntityTextUrlMessageEntityMentionNameInputMessageEntityMentionNameMessageEntityPhoneMessageEntityCashtagMessageEntityUnderlineMessageEntityStrikeMessageEntityBankCardMessageEntitySpoilerMessageEntityCustomEmojiMessageEntityBlockquoteMessageEntityFormattedDateMessageMediaMessageMediaEmptyMessageMediaPhotoMessageMediaGeoMessageMediaContactMessageMediaUnsupportedMessageMediaDocumentMessageMediaWebPageMessageMediaVenueMessageMediaGameMessageMediaInvoiceMessageMediaGeoLiveMessageMediaPollMessageMediaDiceMessageMediaStoryMessageMediaGiveawayMessageMediaGiveawayResultsMessageMediaPaidMediaMessageMediaToDoMessageMediaVideoStreamVector < MediaArea > (optional)MediaAreaVenueInputMediaAreaVenueMediaAreaGeoPointMediaAreaSuggestedReactionMediaAreaChannelPostInputMediaAreaChannelPostMediaAreaUrlMediaAreaWeatherMediaAreaStarGiftVector < PrivacyRule > (optional)PrivacyValueAllowContactsPrivacyValueAllowAllPrivacyValueAllowUsersPrivacyValueDisallowContactsPrivacyValueDisallowAllPrivacyValueDisallowUsersPrivacyValueAllowCloseFriendsPrivacyValueAllowPremiumPrivacyValueAllowBotsPrivacyValueDisallowBotsStoryViews (optional)StoryViewsReaction (optional)ReactionEmptyReactionEmojiReactionCustomEmojiReactionPaidVector < int > (optional)WallPaper (optional)WallPaperlongtrue (optional)true (optional)true (optional)true (optional)longstringDocumentDocumentEmptylongDocumentlonglongbytesintstringlongVector < PhotoSize > (optional)PhotoSizeEmptyPhotoSizePhotoCachedSizePhotoStrippedSizePhotoSizeProgressivePhotoPathSizeVector < VideoSize > (optional)VideoSizeVideoSizeEmojiMarkupVideoSizeStickerMarkupintVector < DocumentAttribute >DocumentAttributeImageSizeDocumentAttributeAnimatedDocumentAttributeStickerDocumentAttributeVideoDocumentAttributeAudioDocumentAttributeFilenameDocumentAttributeHasStickersDocumentAttributeCustomEmojiWallPaperSettings (optional)WallPaperSettingstrue (optional)true (optional)int (optional)int (optional)int (optional)int (optional)int (optional)int (optional)string (optional)WallPaperNoFilelongtrue (optional)true (optional)WallPaperSettings (optional)WallPaperSettingstrue (optional)true (optional)int (optional)int (optional)int (optional)int (optional)int (optional)int (optional)string (optional)int (optional)int (optional)StickerSet (optional)StickerSettrue (optional)true (optional)true (optional)true (optional)true (optional)true (optional)true (optional)int (optional)longlongstringstringVector < PhotoSize > (optional)PhotoSizeEmptystringPhotoSizestringintintintPhotoCachedSizestringintintbytesPhotoStrippedSizestringbytesPhotoSizeProgressivestringintintVector < int >PhotoPathSizestringbytesint (optional)int (optional)long (optional)intintBotVerification (optional)BotVerificationlonglongstringint (optional)long (optional)ProfileTab (optional)ProfileTabPostsProfileTabGiftsProfileTabMediaProfileTabFilesProfileTabMusicProfileTabVoiceProfileTabLinksProfileTabGifsExample
ChannelFull(
id=0,
about="text",
read_inbox_max_id=0,
read_outbox_max_id=0,
unread_count=0,
chat_photo=PhotoEmpty(id=0),
notify_settings=PeerNotifySettings(),
bot_info=[
BotInfo()
],
pts=0,
)