2016-12-20 13:15:22 +01:00
|
|
|
---
|
|
|
|
title: channelFull
|
2016-12-20 13:32:11 +01:00
|
|
|
description: channelFull attributes, type and example
|
2016-12-20 13:15:22 +01:00
|
|
|
---
|
2016-12-19 16:56:52 +01:00
|
|
|
## Constructor: channelFull
|
2016-12-20 13:15:22 +01:00
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
2016-12-19 16:56:52 +01:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
2017-08-20 11:05:56 +02:00
|
|
|
|----------|---------------|----------|
|
2016-12-19 16:56:52 +01:00
|
|
|
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|
|
|
|
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|
2017-08-21 18:22:02 +02:00
|
|
|
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|
|
2017-10-14 11:50:46 +02:00
|
|
|
|hidden\_prehistory|[Bool](../types/Bool.md) | Optional|
|
2017-03-11 19:54:51 +01:00
|
|
|
|id|[int](../types/int.md) | Yes|
|
|
|
|
|about|[string](../types/string.md) | Yes|
|
2016-12-19 16:56:52 +01:00
|
|
|
|participants\_count|[int](../types/int.md) | Optional|
|
|
|
|
|admins\_count|[int](../types/int.md) | Optional|
|
|
|
|
|kicked\_count|[int](../types/int.md) | Optional|
|
2017-06-30 15:36:33 +02:00
|
|
|
|banned\_count|[int](../types/int.md) | Optional|
|
2017-03-11 19:54:51 +01:00
|
|
|
|read\_inbox\_max\_id|[int](../types/int.md) | Yes|
|
|
|
|
|read\_outbox\_max\_id|[int](../types/int.md) | Yes|
|
|
|
|
|unread\_count|[int](../types/int.md) | Yes|
|
2018-02-18 14:18:18 +01:00
|
|
|
|chat\_photo|[Photo](../types/Photo.md) | Optional|
|
|
|
|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|
|
2017-03-11 19:54:51 +01:00
|
|
|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|
|
|
|
|
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Yes|
|
2016-12-19 16:56:52 +01:00
|
|
|
|migrated\_from\_chat\_id|[int](../types/int.md) | Optional|
|
|
|
|
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|
|
|
|
|pinned\_msg\_id|[int](../types/int.md) | Optional|
|
2017-08-21 18:22:02 +02:00
|
|
|
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|
|
2017-10-14 11:50:46 +02:00
|
|
|
|available\_min\_id|[int](../types/int.md) | Optional|
|
2016-12-19 16:56:52 +01:00
|
|
|
|
2016-12-19 18:56:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
### Type: [ChatFull](../types/ChatFull.md)
|
|
|
|
|
|
|
|
|
2016-12-19 16:56:52 +01:00
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
2017-10-14 11:50:46 +02:00
|
|
|
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_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];
|
Added docs for layer 18, 23, 25, 27, 33, 38, 40, 41, 42, 44, 45, 46, 51, 53, 55
2017-01-02 21:04:36 +01:00
|
|
|
```
|
|
|
|
|
2017-07-23 16:11:02 +02:00
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
|
|
|
|
```
|
2017-10-14 11:50:46 +02:00
|
|
|
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "hidden_prehistory": Bool, "id": int, "about": "string", "participants_count": int, "admins_count": int, "kicked_count": int, "banned_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}
|
2017-07-23 16:11:02 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
2017-03-11 19:54:51 +01:00
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
|
|
|
|
```
|
2017-10-14 11:50:46 +02:00
|
|
|
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_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}
|
2017-03-11 19:54:51 +01:00
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|