MadelineProtoDocs/docs/API_docs/constructors/messageActionChatCreate.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

44 lines
903 B
Markdown

---
title: messageActionChatCreate
description: messageActionChatCreate attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionChatCreate
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|title|[string](../types/string.md) | Yes|
|users|Array of [int](../types/int.md) | Yes|
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```php
$messageActionChatCreate = ['_' => 'messageActionChatCreate', 'title' => 'string', 'users' => [int, int]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageActionChatCreate", "title": "string", "users": [int]}
```
Or, if you're into Lua:
```lua
messageActionChatCreate={_='messageActionChatCreate', title='string', users={int}}
```