leaveGroup
From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 19:59, 2 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Commands bot to leave the group specified by a UUID.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.leaveGroup(groupuuid)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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