1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 21:46:55 +01:00
MadelineProto/docs/TD_docs/methods/toggleGroupAdministrators.md
2017-08-25 15:05:53 +02:00

707 B

title description
toggleGroupAdministrators Gives or revokes all members of the group administrator rights. Needs creator privileges in the group

Method: toggleGroupAdministrators

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Gives or revokes all members of the group administrator rights. Needs creator privileges in the group

Params:

Name Type Required Description
group_id int Yes Identifier of the group
everyone_is_administrator Bool Yes New value of everyone_is_administrator

Return type: Ok