3.1 KiB
3.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
Full info about a channel/supergroup
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_view_participants | Bool | Optional | Can we vew the participant list? |
can_set_username | Bool | Optional | Can we set the channel's username? |
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. |
read_outbox_max_id | int | Yes | Position up to which all outgoing messages are read. |
unread_count | int | Yes | Count of unread messages |
chat_photo | Photo | Optional | Channel picture |
notify_settings | PeerNotifySettings | Optional | Notification settings |
exported_invite | ExportedChatInvite | Yes | Invite link |
bot_info | Array of BotInfo | Yes | Info about bots in the channel/supergrup |
migrated_from_chat_id | int | Optional | The chat ID from which this group was migrated |
migrated_from_max_id | int | Optional | The message ID in the original chat at which this group was migrated |
pinned_msg_id | int | Optional | Message ID of the pinned message |
Type: ChatFull
Example:
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => 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' => [BotInfo, BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int];
Or, if you're into Lua:
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=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={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int}