channelFull

Full info about a channel/supergroup

channelFull#2d895c74 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_view_stats:flags.12?true can_set_location:flags.16?true has_scheduled:flags.19?true id:int 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:ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int 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?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int pts:int = ChatFull;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
can_view_participants flags.3?true Can we vew the participant list?
can_set_username flags.6?true Can we set the channel's username?
can_set_stickers flags.7?true Can we associate a stickerpack to the supergroup?
hidden_prehistory flags.10?true Is the history before we joined hidden to us?
can_view_stats flags.12?true Can the user call messages.getStatsURL on this channel
can_set_location flags.16?true Can we set the geolocation of this group (for geogroups)
has_scheduled flags.19?true Whether scheduled messages are available
id int ID of the channel
about string Info about the channel
participants_count flags.0?int Number of participants of the channel
admins_count flags.1?int Number of channel admins
kicked_count flags.2?int Number of users kicked from the channel
banned_count flags.2?int Number of users banned from the channel
online_count flags.13?int Number of users currently online
read_inbox_max_id int Position up to which all incoming messages are read.
read_outbox_max_id int Position up to which all outgoing messages are read.
unread_count int Count of unread messages
chat_photo Photo Channel picture
notify_settings PeerNotifySettings Notification settings
exported_invite ExportedChatInvite Invite link
bot_info Vector<BotInfo> Info about bots in the channel/supergrup
migrated_from_chat_id flags.4?int The chat ID from which this group was migrated
migrated_from_max_id flags.4?int The message ID in the original chat at which this group was migrated
pinned_msg_id flags.5?int Message ID of the pinned message
stickerset flags.8?StickerSet Associated stickerset
available_min_id flags.9?int Identifier of a maximum unavailable message in a channel due to hidden history.
folder_id flags.11?int Folder ID
linked_chat_id flags.14?int ID of the linked discussion chat for channels
location flags.15?ChannelLocation Location of the geogroup
slowmode_seconds flags.17?int If specified, users in supergroups will only be able to send one message every slowmode_seconds seconds
slowmode_next_send_date flags.18?int Indicates when the user will be allowed to send another message in the supergroup (unixdate)
pts int Latest PTS for this channel

Type

ChatFull

Related pages

channels.setStickers

Associate a stickerset to the supergroup

messages.getStatsURL

Returns URL with the chat statistics. Currently this method can be used only for channels

Admin, banned, default rights

How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.

Channels

How to handle channels, supergroups, groups, and what's the difference between them.

Working with Updates

How to subscribe to updates and handle them properly.