mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-05 23:38:17 +01:00
24 lines
659 B
Markdown
24 lines
659 B
Markdown
---
|
|
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)
|
|
|
|
|
|
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 |
|
|
|----------|---------------|----------|-------------|
|
|
|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)
|
|
|