> For the complete documentation index, see [llms.txt](https://docs.antbuddy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antbuddy.com/tai-lieu-antbuddy-huong-dan-su-dung-antbuddy-docs-user-guide/quan-tri-khach-hang-antcrm-antcrm-customer-management/tin-nhan-da-kenh-conversation/telegram.md).

# Telegram

Để tích hợp được Telegram, chúng ta cần khởi tạo bot Telegram. [Cách tạo bot Telegram xem ở đây](https://drive.google.com/file/d/12nQkUKzcrDofrYBJyxSzJbJ-8hJRCo0-/view?usp=sharing)

Bước 1: Lấy token của bot.

Sau khi đặt tên cho bot:

* Telegram sẽ cung cấp 1 token API dùng để tích hợp vào CRM
* Đường tới link chat của bot sẽ có cấu trúc: [https://t.me/tên\_bot\_đã\_tạo](https://t.me/t%C3%AAn_bot_%C4%91%C3%A3_t%E1%BA%A1o,)

<figure><img src="https://huongdan.antbuddy.com/uploads/images/iVBORw0K16493018321996448257290596924.png" alt=""><figcaption></figcaption></figure>

Bước 2: Vào Setting -> Omni -> Telegram

Bước 3: Chọn ![](https://huongdan.antbuddy.com/uploads/images/iVBORw0K16493018322008207390631445698.png)

Bước 4: Nhập token bot Telegram<br>

<figure><img src="https://huongdan.antbuddy.com/uploads/images/iVBORw0K16493018322015627529575912435.png" alt=""><figcaption></figcaption></figure>

Bước 5: Lưu

Bước 6: Chọn Đăng kí

<figure><img src="https://huongdan.antbuddy.com/uploads/images/iVBORw0K164930183220138009523106827956.png" alt=""><figcaption></figcaption></figure>

Bước 7: Chọn thiết lập phân quyền cho nhóm user/user và các thiết lập tương tác liên quan

Sau bước 7, chúng ta đã có thể sử dụng kênh Telegram trên CRM

Một số lưu ý khi sử dụng:

* Trên CRM chỉ cho phép gửi ra tin nhắn, icon, hình ảnh và file pdf
* Trên CRM cho phép nhận vào: tin nhắn, icon, hình ảnh, file (pdf, excel, word ...)


---

# 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:

```
GET https://docs.antbuddy.com/tai-lieu-antbuddy-huong-dan-su-dung-antbuddy-docs-user-guide/quan-tri-khach-hang-antcrm-antcrm-customer-management/tin-nhan-da-kenh-conversation/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.
