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

1.5 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
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, '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, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite}