4baac3178e
Add PHP, Lua language tag to Code area
38 lines
603 B
Markdown
38 lines
603 B
Markdown
---
|
|
title: channelRoleModerator
|
|
description: channelRoleModerator attributes, type and example
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: channelRoleModerator
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [ChannelParticipantRole](../types/ChannelParticipantRole.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```php
|
|
$channelRoleModerator = ['_' => 'channelRoleModerator'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "channelRoleModerator"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
```lua
|
|
channelRoleModerator={_='channelRoleModerator'}
|
|
|
|
```
|
|
|
|
|