MadelineProtoDocs/docs/TD_docs/methods/toggleGroupAdministrators.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

25 lines
784 B
Markdown

---
title: toggleGroupAdministrators
description: Gives or revokes all members of the group administrator rights. Needs creator privileges in the group
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# 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
### Parameters:
| 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)