# Telegram

Để tạo Notification với kênh gửi/ nhận là Telegram, hãy làm theo hướng dẫn bên dưới:

1. Đăng nhập vào <https://hcm-3.console.vngcloud.vn/vmonitor>. Nếu bạn chưa có tài khoản, đăng ký miễn phí tại [tại đây](https://register.vngcloud.vn/signup).
2. Chọn thư mục **Notification.**
3. Chọn **Create a Notification**.
4. Màn hình **Create Notification** được hiển thị. Nhập **Notification name**, hãy nhập tên tuân thủ theo quy định của chúng tôi cho Notification của bạn. Sau khi tạo Notification, bạn có thể thay đổi tên cho Notification của bạn. Để biết thêm thông tin về cách đặt tên Notification, hãy xem [Notification](https://docs.vngcloud.vn/vng-cloud-document/vn/vmonitor/dashboards/notification).
5. Chọn **Notification type** là **Telegram**.
6. Nhập **Chat ID.** Để lấy thông tin Chat ID của bạn, hãy làm theo hướng dẫn bên dưới:
   1. Mở trình duyệt web của Telegram theo đường dẫn: <https://web.telegram.org/z>.
   2. Tạo một nhóm chat Telegram mới của bạn với thành viên là **@VMONITOR\_TELEGRAM\_BOT**.
   3. Sau khi nhóm chat đã được tạo, hãy truy cập vào đường dẫn tới nhóm chat trên trình duyệt. Đường dẫn tới nhóm chat này sẽ có định dạng [**https://web.telegram.org/z/#\[group\_chat\_id**](https://web.telegram.org/z/#\[group_chat_id)**]**. Từ đây, bạn có thể sao chép Group Chat ID và thực hiện định danh notification.\
      Ví dụ đường dẫn nhóm chat của bạn là [**https://web.telegram.org/z/#-123456789**](https://web.telegram.org/z/#-123456789), thì Chat ID của bạn là **-123456789**. Hãy dùng Chat ID này để định danh notification.

7\. Chọn **Send OTP,** hệ thống sẽ gửi mã OTP vào Telegram channel bạn đã nhập ở trên. OTP là viết tắt của One Time Password tức là mật khẩu sử dụng một lần, bạn sử dụng mã này để xác thực chính xác nhóm chat của bạn trên Telegram không phải là nhóm chat rác.

8\. Nhập mã **OTP** vào OTP. Mã OTP sẽ có hiệu lực trong vòng **120s**, sau 120s mã OTP này sẽ hết hiệu lực và không thể sử dụng để định danh nhóm chat Telegram. Bạn có thể chọn **Gửi lại OTP** để nhận mã mới sau đó tiếp tục nhập mã mới này để định danh.

9\. Chọn **Create.**

<figure><img src="https://3672463924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FB0NrrrdJdpYOYzRkbWp5%2Fuploads%2Fgit-blob-9bf8a0cd2553b0432eb74e4efd8eaec45483c75d%2Fimage.png?alt=media" alt="" width="512"><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.vngcloud.vn/vng-cloud-document/vn/vmonitor/dashboards/notification/lam-viec-voi-notification/telegram.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.
