1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 02:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/channelFull.md

2.1 KiB

title description
channelFull Gives full information about a channel

Constructor: channelFull

Back to constructors index

Gives full information about a channel

Attributes:

Name Type Required Description
channel channel Yes General info about the channel
about string Yes Information about the channel
member_count int Yes Channel member count, 0 if unknown
administrator_count int Yes Number of privileged users in the channel, 0 if unknown
kicked_count int Yes Number of users kicked from the channel, 0 if unknown
can_get_members Bool Yes True, if members of the channel can be retrieved
can_set_username Bool Yes True, if channel can be made public
invite_link string Yes Invite link for this channel
pinned_message_id long Yes Identifier of the pinned message in the channel chat, or 0 if none
migrated_from_group_id int Yes Identifier of the group, this supergroup migrated from, or 0 if none
migrated_from_max_message_id long Yes Identifier of last message in the group chat migrated from, or 0 if none

Type: ChannelFull

Example:

$channelFull = ['_' => 'channelFull', 'channel' => channel, 'about' => string, 'member_count' => int, 'administrator_count' => int, 'kicked_count' => int, 'can_get_members' => Bool, 'can_set_username' => Bool, 'invite_link' => string, 'pinned_message_id' => long, 'migrated_from_group_id' => int, 'migrated_from_max_message_id' => long, ];

Or, if you're into Lua:

channelFull={_='channelFull', channel=channel, about=string, member_count=int, administrator_count=int, kicked_count=int, can_get_members=Bool, can_set_username=Bool, invite_link=string, pinned_message_id=long, migrated_from_group_id=int, migrated_from_max_message_id=long, }