> For the complete documentation index, see [llms.txt](https://tgtaps.gitbook.io/tgtaps-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgtaps.gitbook.io/tgtaps-docs/mini-app-settings/telegram-messages.md).

# Telegram messages

When users open your bot, the bot sends messages. These messages can be configured in settings in “Telegram tab”. You can configure the following things in the message:

* text of the message;
* join app button;
* buttons with URL;
* buttons with commands.

For example, the following settings:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2F5rPMmHz0qMZxs3IIgcO5%2Fimage.png?alt=media&amp;token=ab3af7f9-36b6-496d-9364-25c8da6324d7" alt=""><figcaption></figcaption></figure>

Will produce the following message:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2Fd5zNgdhVWLmukZtu7ioK%2Fimage.png?alt=media&amp;token=df8d7ff3-f8b2-45c6-9ad0-8c6f6a313690" alt=""><figcaption></figcaption></figure>

You can add chain of messages. For example, the message contains the button with command`/how_app_works` and the message which response to it.

For example, add a button to the existing message:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FUBZV67fe4nbHYB6eAQto%2Fimage.png?alt=media&amp;token=48273e5b-885a-4e6c-99e2-db8272f2556c" alt=""><figcaption></figcaption></figure>

When the button is clicked, the following message will be sent:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FCG4Zr8V145sulVjQKQiT%2Fimage.png?alt=media&amp;token=f0f96319-6bf4-4db9-bbc8-3ad25ff46695" alt=""><figcaption></figcaption></figure>

The result is:

<figure><img src="https://923504530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4Ussb0ib5NljSmRt4570%2Fuploads%2FHpilUMUCQL7Q5xvoO73C%2Fimage.png?alt=media&amp;token=fbfe9ff1-b433-4237-bb27-e7be77d6ebe1" alt=""><figcaption></figcaption></figure>

***

Something unclear in docs or you know how to improve article? [Message us in community!](https://docs.tgtaps.com/tgtaps-docs/readme/community)\
We will answer you and then promise to improve the article within 3 days.
