MadelineProtoDocs/docs/TD_docs/methods/toggleGroupAdministrators.md
2018-04-01 13:24:46 +02:00

711 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

Parameters:

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