# Telegram-bot

1. Request access to the telegram bot through the **CDZV.COM** support service (***email your request to <support@cdzv.com>***). After activating your account, you can immediately start working and configuring the bot.
2. The bot can work as your personal informer (in a private chat) or send messages to a channel or group.

**Important**: for the bot to work in a group chat or group, it needs administrator rights.

3. Find the bot on Telegram by the name ***@CDZV\_COM\_bot*** and start a dialogue with it or add it to a chat/group.
4. After adding the bot, you will receive a message with the **chat ID**, which will be required for sending messages (the bot can send messages to multiple chats and groups). If the message with the chat ID does not appear, send the /info command to the chat or channel to get this information.

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

*An example of a response from a bot:*

*ChatID: -100130149201*

**Write down this ID.**

5. To send a message through the bot, you need to send a Webhook message to the URL:

**`https://mbutmvf5t34wezx3avta7fendy0hxohi.lambda-url.eu-central-1.on.aws/`**

<figure><img src="/files/1MBEQ994sUpAsBqoRgHU" alt=""><figcaption></figcaption></figure>

6. In the Webhook message, the first line should be the authorization string, and from the second line onwards - the text of the message that will be sent by the bot. You can use Emoji in the text.

***The authorization string has the format:***

`your_TradingView_profile_name:ChatID`

***Example message:***

`cameron:-100130149201 IWM` \
`Crossing 205.70`

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

After this, the bot will send the message "*IWM Crossing 205.70*" to the specified chat/group.

Now you are ready to configure sending messages through the **CDZV.COM** telegram bot. If you have any questions, contact the support service.


---

# 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.cdzv.com/code-zero-visual-trading_en/cdzv-toolkit/telegram-bot.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.
