Skip to content

toggleGroupEditors

Sahri Riza Umami edited this page Mar 15, 2017 · 4 revisions

Gives or revokes all members of the group editor rights.

toggleGroupEditors(group_id, anyone_can_edit)

Needs creator privileges in the group.

Option Description
group_id Identifier of the group.
anyone_can_edit New value of anyone_can_edit

Example

  • Gives all members of the group editor rights.

    toggleGroupEditors(1234567890, 1)
  • Revokes all members of the group editor rights.

    toggleGroupEditors(1234567890, 0)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally