MadelineProtoDocs/old_docs/API_docs_v5/constructors/channelFull.md
2020-06-16 17:50:25 +02:00

2.1 KiB

title description image
channelFull Full info about a [channel/supergroup](https://core.telegram.org/api/channel) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelFull

Back to constructors index

Full info about a channel/supergroup

Attributes:

Name Type Required Description
id int Yes ID of the channel
about string Yes Info about the channel
participants_count int Optional Number of participants of the channel
admins_count int Optional Number of channel admins
kicked_count int Optional Number of users kicked from the channel
read_inbox_max_id int Yes Position up to which all incoming messages are read.
unread_count int Yes Count of unread messages
unread_important_count int Yes
chat_photo Photo Optional Channel picture
notify_settings PeerNotifySettings Optional Notification settings
exported_invite ExportedChatInvite Yes Invite link

Type: ChatFull

Example:

$channelFull = ['_' => 'channelFull', 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite];

Or, if you're into Lua:

channelFull={_='channelFull', id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite}