leaveGroup
From SmartBots Developers Docs
Jump to: navigation, search
Commands bot to leave the group specified by a UUID.
Bot.leaveGroup(groupuuid);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
groupuuid | yes | The UUID of the group | |
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed |
- leaveGroup