MadelineProtoDocs/old_docs/API_docs_v44/constructors/channelFull.md

2.3 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
can_view_participants Bool Optional Can view participants?
id int Yes ID
about string Yes About
participants_count int Optional Participants count
admins_count int Optional Admins count
kicked_count int Optional Kicked count
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
bot_info Array of BotInfo Yes Bot info
migrated_from_chat_id int Optional Migrated from chat ID
migrated_from_max_id int Optional Migrated from max ID

Type: ChatFull

Example:

$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, '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, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int];

Or, if you're into Lua:

channelFull={_='channelFull', can_view_participants=Bool, 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, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int}