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

729 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 CLICK ME int Yes Identifier of the group
everyone_is_administrator CLICK ME Bool Yes New value of everyone_is_administrator

Return type: Ok