# Návody

1. [Zakázat input chatu](#zakazat-input-chatu)
2. [Doporučené akce](#doporucene-akce)

## Zakázat input chatu <a href="#zakazat-input-chatu" id="zakazat-input-chatu"></a>

Chatbot může zakázat *input* klientského chatu pomocí [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). Pokud poslední aktivita z chatbotu obsahuje `"inputHint": "ignoringInput"`, *input* bude deaktivován.

## Doporučené akce <a href="#doporucene-akce" id="doporucene-akce"></a>

Chatbot může pomocí této funkce, známé jako [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) typu [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), zcela skrýt chatový *input* klienta.

Stačí přidat následující kód do aktivity, kde se očekává nějaká akce od klienta:

```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"
        }
  ]
}
```

Jak to vypadá pro klienta:

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

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


---

# 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.mluvii.com/pro-it-specialisty/napojeni-chatbotu/navody.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.
