> For the complete documentation index, see [llms.txt](https://huong-dan-bck.haibasoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huong-dan-bck.haibasoft.com/telegram.md).

# Telegram

Thông báo có giao dịch mới qua telegram. Nếu bạn làm việc theo nhóm thì tính năng này vô cùng hữu ích nhóm của bạn sẽ tin cậy cùng nhau làm việc, bởi vì họ đều biết được các giao dịch  xảy ra lúc nào một cách trực tuyến.

## Tạo bot telegram (lấy Token)

**Bước 1:** Trên Telegram, tìm kiếm **Botfather** & Chọn **Botfather** có tích xanh

**Bước 2**: Nhập lệnh **/start** và nhấn **Enter** để bắt đầu tạo bot mới

**Bước 3:** Nhấn vào lệnh **/newbot**

**Bước 4**: Sau đó, nhập tên **user name** cho bot của bạn và nhấn **Enter**. Lúc này hệ thống sẽ gửi tin nhắn báo **tạo bot Telegram** thành công và bạn copy lấy mã token.

### Tạo nhóm telegram (lấy ID nhóm)

Thêm RawDataBot vào group bằng cách vào nhóm telegram cần lấy ID => nhấn biểu tượng **thêm thành viên** => Tìm **@RawDataBot** và nhấn **Thêm**. Ngay lập tức bot sẽ gửi thông báo có chứa group ID.

```
"chat":{
    "id":"xxxxxxx"
}
```

Tiếp theo, thêm bot bạn vừa tạo vào nhóm telegram của team bạn.

Như vậy bạn đã có telegram bot token và group ID. Cuối cùng, Bạn điền 2 thông số này ở phần cài đặt:

* Trên app: Tất cả các giao dịch của tất cả các website bạn kết kết trên app sẽ gửi vào nhóm telegram.
* Trong plugin BCK(WordPress): Chỉ thông báo giao dịch của website đó.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://huong-dan-bck.haibasoft.com/telegram.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
