# User Management

Cherry Bot provides convenient commands for moderating users in your Telegram group by replying to their messages. Utilize these commands to maintain a healthy and respectful environment within the community.

### /ban - Ban User

To ban a user, follow these steps:

1. Reply to the user's message you want to ban.
2. Use the following command:

   ```plaintext
   /ban
   ```

The user will be banned from the group, preventing them from sending messages.

### /unban - Unban User

To unban a previously banned user, follow these steps:

1. Reply to the user's message you want to unban.
2. Use the following command:

   ```plaintext
   /unban
   ```

The user will be unbanned, allowing them to send messages again.

### /mute - Mute User

To mute a user, follow these steps:

1. Reply to the user's message you want to mute.
2. Use the following command:

   ```plaintext
   /mute
   ```

The user will be muted, restricting them from sending messages for a specified duration.

### /unmute - Unmute User

To unmute a previously muted user, follow these steps:

1. Reply to the user's message you want to unmute.
2. Use the following command:

   ```plaintext
   /unmute
   ```

The user will be unmuted, allowing them to send messages again.

### Additional Information

* Ensure you have the necessary administrative privileges to perform these actions.
* Moderation commands are effective in maintaining a positive atmosphere within the group.

#### Example Usage

```plaintext
Reply to the user's message with /ban to ban the user.
Reply to the banned user's message with /unban to unban them.
Reply to the user's message with /mute to mute them.
Reply to the muted user's message with /unmute to unmute them.
```

Feel free to use these moderation commands to manage user interactions effectively in your Telegram group.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherrybot.co/cherry-bot/bot-features/user-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
