mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 20:36:55 +01:00
44 lines
809 B
Markdown
44 lines
809 B
Markdown
---
|
|
title: channelMembersAdministrators
|
|
description: Return privileged members, i.e. creator, editors and moderators are returned
|
|
---
|
|
## Constructor: channelMembersAdministrators
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
Return privileged members, i.e. creator, editors and moderators are returned
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|:-------------:|:--------:|------------:|
|
|
|
|
|
|
|
|
### Type: [ChannelMembersFilter](../types/ChannelMembersFilter.md)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$channelMembersAdministrators = ['_' => 'channelMembersAdministrators'];
|
|
```
|
|
|
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
|
|
|
```
|
|
{"_": "channelMembersAdministrators"}
|
|
```
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
```
|
|
channelMembersAdministrators={_='channelMembersAdministrators'}
|
|
|
|
```
|
|
|
|
|