MadelineProtoDocs/old_docs/API_docs_v105/constructors/channelParticipantCreator.md

40 lines
851 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
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|
|rank|[string](../types/string.md) | Optional|Creator rank, an arbitrary string|
### Type: [ChannelParticipant](../types/ChannelParticipant.md)
### Example:
```php
$channelParticipantCreator = ['_' => 'channelParticipantCreator', 'user_id' => int, 'rank' => 'string'];
```
Or, if you're into Lua:
```lua
channelParticipantCreator={_='channelParticipantCreator', user_id=int, rank='string'}
```