acceptGroupOffer
Accept (or reject) a group invitation sent by another avatar.
Bot.on("group_offer", (event) => {
Bot.acceptGroupOffer(event.avatar_uuid, event.session_id, true);
});See the group_offer event for details.
Input
Variable | Required | Description |
|---|---|---|
| yes | Sender avatar UUID |
| yes | Session UUID from the event |
| yes |
|
Output
Field | Type | Description |
|---|---|---|
| bool | true if command completed successfully |
| string | error string if command has failed |