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

43 lines
789 B
Markdown

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