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