# BOT_LIST_GROUP_ROLES

Retrieves a list of all the role names and UUIDs for a group which the bot is a member of.

## Variables

The following table shows input values (you send them with the API call) and returned output values.

| **Variable** | **Description** |
|----------|-------------|
| `str`    | —           |
| `id`     | UUID of the group to retrieve a list of roles for. |


---

## Result

The following event will be raised with the list of the bot’s group roles:

* [`BOT_LIST_GROUP_ROLES_REPLY`](/doc/bot_list_group_roles_reply-qqxUbtO1KE)


---

## Example

```csharp
llMessageLinked(LINK_SET, BOT_LIST_GROUP_ROLES, "", "0b65a122-8f77-64fe-5b2a-225d4c490d9c");
```