1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 04:36:57 +01:00
MadelineProto/docs/TD_docs/methods/toggleGroupAdministrators.md

24 lines
729 B
Markdown
Raw Normal View History

2017-08-25 15:05:53 +02:00
---
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
### Parameters:
2017-08-25 15:05:53 +02:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|group\_id|[CLICK ME int](../types/int.md) | Yes|Identifier of the group|
|everyone\_is\_administrator|[CLICK ME Bool](../types/Bool.md) | Yes|New value of everyone_is_administrator|
2017-08-25 15:05:53 +02:00
### Return type: [Ok](../types/Ok.md)