# group_visibility

Controls group visibility in the bot’s profile.

```csharp
// See "LSL Helper Functions" page for this function
smartbotsAPI("group_visibility", [
  "groupuuid", "0b65a122-8f77-64fe-5b2a-225d4c490d9c",
  "profile", 0
]);
```

```snippet http-api-variables-OmJyUigTgO
```

```snippet http-api-input-basic-parameters-5FcVlaJbq0 action="group_visibility"
```

```snippet http-api-input-q5yvAagqsZ
groupuuid | yes      | The group UUID
profile   | yes      | Set to `1` to show the group in the bot’s profile, `0` to hide it
notices   | optional | Controls whether the bot receives notices from the group.<br>Use`"accept"` to receive notices, `"reject"`to stop receiving notices.<br>Note: The`profile` parameter must always be set.
```

```snippet http-api-output-JAwUcmg7i7
```

# Details

Use this command to show or hide a group in the bot’s public profile.  
The result of this operation is applied immediately.

The command can also control whether the bot receives notices from the specified group.  
If `notices="reject"` is used, the bot stops receiving notices from that group.