1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-06 00:18:17 +01:00
MadelineProto/docs/TD_docs/methods/toggleGroupEditors.md

24 lines
659 B
Markdown
Raw Normal View History

---
title: toggleGroupEditors
description: Gives or revokes all members of the group editor rights. Needs creator privileges in the group
---
## Method: toggleGroupEditors
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Gives or revokes all members of the group editor rights. Needs creator privileges in the group
### Params:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|group\_id|[int](../types/int.md) | Yes|Identifier of the group|
|anyone\_can\_edit|[Bool](../types/Bool.md) | Yes|New value of anyone_can_edit|
### Return type: [Ok](../types/Ok.md)