# Telegram

## 建立 Telegram 機器人

1. 與 [Botfather](https://telegram.me/botfather) 帳號交談並輸入以下指令: /newbot。
2. 依照指示輸入機器人名稱。
3. 接續填寫用戶名稱(Username)，依照 Telegram 規定必須要以 bot 結尾，如 FIRST\_line\_bot。
4. 最後，將會建立並回傳 token，將此 token 複製，稍後將於系統內貼上。

![與 BotFather 交談](/files/YYPrq8jRDtf2FqXV7ls2)

![](/files/OzF7UiC25kaZbAjnj6jt)

## 於 FIRST LINE 新增 Telegram 帳號

1. 至選單中的管道，並點擊「Telegram」項目。
2. 右上點擊「新增」按鈕。
3. 輸入管道名稱用於辨識，接著於 Telegram Bot Token 貼上 Token。
4. 儲存後，可能需約 10 秒內，將可正式使用。


---

# 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://help.firstline.cc/feature/channels/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.
