groupInfo
From SmartBots Developers Docs
Revision as of 15:33, 21 October 2019 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Returns the online status of the bot.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.groupInfo("0b65a122-8f77-64fe-5b2a-2...")
Returns the online status of the bot.
Bot.groupInfo("0b65a122-8f77-64fe-5b2a-225d4c490d9c").then(function(res) {
console.log("Group info:", res);
});
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed | |
charter | Group text | ||
insignia | Group profile image UUID | ||
fee | Group join fee | ||
founder | Founder avatar UUID | ||
mature | "1" if group has a Mature flag | ||
members | The number of members | ||
member_title | The default member tag | ||
name | Group name | ||
open | "1" if group is open to join | ||
uuid | Group UUID |
Details
See HTTP API group_info for more information and limitations.