MadelineProtoDocs/docs/TD_docs/methods/toggleGroupAdministrators.md

25 lines
788 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 | Description | Required |
|----------|---------------|-------------|----------|
|group\_id|[int](../types/int.md) | Identifier of the group | Yes|
|everyone\_is\_administrator|[Bool](../types/Bool.md) | New value of everyone_is_administrator | Yes|
### Return type: [Ok](../types/Ok.md)