> For the complete documentation index, see [llms.txt](https://docs.mluvii.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mluvii.com/en/for-it-specialists/chatbot-connection/tips-and-tutorials.md).

# Tips and Tutorials

1. [Disable chat input](#disable-chat-input)
2. [Suggested actions](#suggested-actions)

## Disable chat input

Chatbot can disable client chat input by using [input hints](https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-add-input-hints?view=azure-bot-service-4.0#ignoring-input). So, if the last activity from the chatbot has `"inputHint": "ignoringInput"`, input will be disabled.

## Suggested actions

Chatbot can completely hide client chat input by using this feature, known as [suggested actions](https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-add-suggested-actions?view=azure-bot-service-3.0) of type [imBack](https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-add-rich-cards?view=azure-bot-service-3.0#process-events-within-rich-cards).

Just add the following code to the activity where some action from the client is expected:

```json
"suggestedActions": {
    "actions": [
        {
            "type": "imBack",
            "title": "Eat",
            "value": "client_eat"
        },
        {
            "type": "imBack",
            "title": "Drink",
            "value": "client_drink"
        },
        {
            "type": "imBack",
            "title": "Sleep",
            "value": "client_sleep"
        },
        {
            "type": "imBack",
            "title": "Repeat",
            "value": "client_repeat",
            "image": "img link"
        }
  ]
}
```

**How it looks like for the client:**

<figure><img src="/files/lCKqHxkRGq8i4uz615U2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/YjVrsPVsErOzxzQ0Q1c9" alt=""><figcaption></figcaption></figure>
