Constructor: channelFull

Back to constructors index

Full channel

Attributes:

Name Type Required Description
can_view_participants Bool Optional Can view participants?
can_set_username Bool Optional Can set username?
can_set_stickers Bool Optional Can set group stickerset?
hidden_prehistory Bool Optional Hidden prehistory?
can_view_stats Bool Optional Can view stats?
can_set_location Bool Optional Can set location?
has_scheduled Bool Optional Has scheduled messages?
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
banned_count int Optional Banned count
online_count int Optional Online count
read_inbox_max_id int Yes Read inbox max ID
read_outbox_max_id int Yes Read outbox max ID
unread_count int Yes Unread count
chat_photo Photo Optional Chat photo
notify_settings PeerNotifySettings Yes 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
pinned_msg_id int Optional Pinned msg ID
stickerset StickerSet Optional Stickerset
available_min_id int Optional Available min ID
folder_id int Optional Folder ID
linked_chat_id int Optional Linked chat ID
location ChannelLocation Optional Location
slowmode_seconds int Optional If specified, users in supergroups will only be able to send one message every slowmode_seconds seconds
slowmode_next_send_date int Optional Indicates when the user will be allowed to send another message in the supergroup (unixdate)
pts int Yes PTS

Type: ChatFull

Example:

$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_view_stats' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_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, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => int, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'pts' => int];

Or, if you’re into Lua:

channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, can_view_stats=Bool, can_set_location=Bool, has_scheduled=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_count=int, online_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, stickerset=StickerSet, available_min_id=int, folder_id=int, linked_chat_id=int, location=ChannelLocation, slowmode_seconds=int, slowmode_next_send_date=int, pts=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.