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

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'}
```