mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 09:36:54 +01:00
24 lines
707 B
Markdown
24 lines
707 B
Markdown
|
---
|
||
|
title: toggleGroupAdministrators
|
||
|
description: Gives or revokes all members of the group administrator rights. Needs creator privileges in the group
|
||
|
---
|
||
|
## Method: toggleGroupAdministrators
|
||
|
[Back to methods index](index.md)
|
||
|
|
||
|
|
||
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
||
|
|
||
|
|
||
|
Gives or revokes all members of the group administrator rights. Needs creator privileges in the group
|
||
|
|
||
|
### Params:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|group\_id|[int](../types/int.md) | Yes|Identifier of the group|
|
||
|
|everyone\_is\_administrator|[Bool](../types/Bool.md) | Yes|New value of everyone_is_administrator|
|
||
|
|
||
|
|
||
|
### Return type: [Ok](../types/Ok.md)
|
||
|
|