MadelineProtoDocs/docs/API_docs/constructors/channelParticipantCreator.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

45 lines
857 B
Markdown

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