MadelineProtoDocs/old_docs/API_docs_v95/constructors/chatFull.md

47 lines
1.7 KiB
Markdown
Raw Normal View History

2019-03-29 21:12:30 +01:00
---
title: chatFull
2019-12-27 17:48:04 +01:00
description: Detailed chat info
2019-03-29 21:12:30 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatFull
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Detailed chat info
2019-03-29 21:12:30 +01:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|can\_set\_username|[Bool](../types/Bool.md) | Optional|Can we change the username of this chat|
|id|[int](../types/int.md) | Yes|ID of the chat|
|about|[string](../types/string.md) | Yes|About string for this chat|
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|Participant list|
2019-03-29 21:12:30 +01:00
|chat\_photo|[Photo](../types/Photo.md) | Optional|Chat photo|
2019-12-27 17:48:04 +01:00
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notification settings|
|exported\_invite|[ExportedChatInvite](../types/ExportedChatInvite.md) | Yes|Chat invite|
2019-03-29 21:12:30 +01:00
|bot\_info|Array of [BotInfo](../types/BotInfo.md) | Optional|Bot info|
2019-12-27 17:48:04 +01:00
|pinned\_msg\_id|[int](../types/int.md) | Optional|Message ID of the pinned message|
2019-03-29 21:12:30 +01:00
### Type: [ChatFull](../types/ChatFull.md)
### Example:
```php
$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'id' => int, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int];
```
Or, if you're into Lua:
```lua
chatFull={_='chatFull', can_set_username=Bool, id=int, about='string', participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, pinned_msg_id=int}
```