# Alerts for your validator via telegram public

Create a new Contact point

<figure><img src="https://1191442972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsocsWgfdMBUSXoC8Z3Gv%2Fuploads%2FO0YoNnhcITo04TwkcZX6%2Fimage.png?alt=media&#x26;token=566f6c1d-21e8-445a-bc67-361609539504" alt=""><figcaption></figcaption></figure>

Here we need the following information:\
1 - Enter a name\
2 - Choose telegram from list\
3 - Insert BOT API Token\
4 - Insert Chat ID of your group/channel or your profile\
5 - Save

To get the BOT API Token we need to create our own bot, you can do it with the @BotFather bot

<figure><img src="https://1191442972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsocsWgfdMBUSXoC8Z3Gv%2Fuploads%2FqCsoOJhsimtVFIGIIEYp%2Fimage.png?alt=media&#x26;token=99d275da-f9cb-434a-b82d-9d7d3f9e6f59" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1191442972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsocsWgfdMBUSXoC8Z3Gv%2Fuploads%2FknhHLwF0Wq3Mjkrce80l%2Fimage.png?alt=media&#x26;token=a811ec32-e9f2-4ab6-a683-44911057be5d" alt=""><figcaption></figcaption></figure>

Run, enter the command /newbot\
Then enter the name of the bot. username of the bot, which will be displayed in the link. That’s it, the bot is created, we got its API Token.

There are two ways to get a Chat ID (where Grafana will send the notification):

1. Group/Channel
2. Our bot

1 option.\
Add the bot to our group/channel and give it admin rights so it can write messages.

The group/channel must be public. After getting Chat ID you can make it private.

Use the online Chat ID [identifier](https://poschitat.online/chat-id-telegram). - you can translate site in English

<figure><img src="https://1191442972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsocsWgfdMBUSXoC8Z3Gv%2Fuploads%2FMoLh010B7UcciIXpzt6r%2Fimage.png?alt=media&#x26;token=5dfe462e-2de2-45b8-8bfd-0dbe4cc2bdb1" alt=""><figcaption></figcaption></figure>

Option 2.\
Run our bot, which we created in BotFather, so that we have an open chat with it, where it will send us messages.\
Next, find out our profile ID using the @RawDataBot\
[This website<br>](https://www.alphr.com/find-chat-id-telegram/#How_to_Find_a_Telegram_Chat_ID_On_a_Windows_PC) And put our ID in the Chat ID field in Grafana and send a test message. Save it.\
Then go to Notification Policies and edit the Default rule, putting Telegram in the Contact Point line.\
That’s it, the configuration is done, now you will get the messages to Telegram when creating the Alerts.

Thanks for your time!


---

# 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://cryptomolot.gitbook.io/cryptomolot-docs/mainnets/aptos/tools-to-monitore-your-validator/alerts-for-your-validator-via-telegram-public.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.
