MadelineProtoDocs/old_docs/API_docs_v40/constructors/channelFull.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.6 KiB

title description image
channelFull Full channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelFull

Back to constructors index

Full channel

Attributes:

Name Type Required Description
id int Yes ID
read_inbox_max_id int Yes Read inbox max ID
unread_count int Yes Unread count
unread_important_count int Yes Unread important count
chat_photo Photo Optional Chat photo
notify_settings PeerNotifySettings Optional Notify settings
exported_invite ExportedChatInvite Yes Exported invite

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];

PWRTelegram json-encoded version:

{"_": "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}