# 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="https://2503272169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk7qHNgmhjqfQcnjtzG64%2Fuploads%2FyvSG5yHXhDUh9M3MNhCC%2Fchatbot_suggested_actions.png?alt=media&#x26;token=2e81acc3-398d-4a78-b7cb-8d65636131d1" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2503272169-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk7qHNgmhjqfQcnjtzG64%2Fuploads%2FNuX8hOYxbA3hayyYxWKM%2Fchatbot_suggested_actions2.png?alt=media&#x26;token=dacde32f-4c5b-47d0-ae28-019981a84525" alt=""><figcaption></figcaption></figure>
