1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 08:16:54 +01:00
MadelineProto/docs/TD_docs/constructors/messageGroupChatCreate.md
2017-07-23 16:11:02 +02:00

46 lines
920 B
Markdown

---
title: messageGroupChatCreate
description: New group chat created
---
## Constructor: messageGroupChatCreate
[Back to constructors index](index.md)
New group chat created
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|title|[string](../types/string.md) | Yes|Title of created group chat|
|members|Array of [user](../constructors/user.md) | Yes|Parcticipants of created group chat|
### Type: [MessageContent](../types/MessageContent.md)
### Example:
```
$messageGroupChatCreate = ['_' => 'messageGroupChatCreate', 'title' => string, 'members' => [user], ];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"messageGroupChatCreate","title":"string","members":["user"]}
```
Or, if you're into Lua:
```
messageGroupChatCreate={_='messageGroupChatCreate', title=string, members={user}, }
```