jadolg/rocketchat_API

Please add groups.addLeader and groups.removeLeader api calls

jsalatiel opened this issue · 2 comments

@jsalatiel
You can make yourself the wrapper function for addleader and removeleader inside the script groups.py.
(You can refer to how the other functions are wrote, they look quite similar)
https://github.com/jadolg/rocketchat_API/blob/master/rocketchat_API/APISections/groups.py

Once you have those functions added, you can use those functions right away.
(Since "RocketChat" class already contains "RocketChatGroups" class as described in rocketchat.py, you do not need to add anything to "rocketchat.py" in this case)

Version 1.13.0 is published with these changes 😄