產品指南
基礎
自動化指南
集成指南
AI應用與模板指南
Open API
功能參考
自動化觸發器
自動化執行器
第三方集成
節點資源
數據表視圖
數據表字段
儀表板組件
智能任務
AI 向導
公式
空間站
更新日誌
Videos

發送消息至 Telegram 頻道或群組

通過 Telegram Bot 的能力,發送消息至群組、頻道或私聊會話。結合自動化任務,能夠在事件觸發時自動推送通知,如系統狀態更新、事件提醒或團隊動態,確保用戶在Telegram平台上即時收到信息,便於事件管理和快速響應。本指南將引導您配置 Telegram 機器人和設置自動化動作“發送消息至Telegram聊天”。

以下是將您的 Telegram 機器人設置為與 bika.ai 一起使用的分步指南。

配置說明

1. 創建 Telegram 機器人

您將使用 Telegram 機器人與頻道或群組進行交互。以下是創建機器人的方法:

  • 打開 Telegram 並搜索 @BotFather。請注意可能存在多個相似的帳號,請認準 handle 是 @BotFather 才是官方機器人。
  • 點擊 Start (開始)
  • 輸入 /newbot 並按照提示為您的機器人命名並設置唯一用戶名。
  • 複製 BotFather 提供的機器人令牌並妥善保存。

注意: 您的機器人需要是頻道或群組的管理員才能發布消息。將其添加為管理員並授予所有權限。

2. 將機器人添加到頻道或群組

為了讓您的機器人讀取和發布消息,請將其設置為管理員:

  • 打開目標頻道或群組。

  • 點擊右上角的三點圖標並選擇 Manage channel (管理頻道)Manage group (管理群組)

    “管理頻道”菜單項示意圖

  • 轉到 Administrators (管理員) 並點擊 Add administrator (添加管理員)

  • 搜索您的機器人名稱或用戶名,選擇並確認。

  • 設置權限(通常默認權限即可)並保存。

3. 找到 Chat ID

您需要 Chat ID 才能通過 bika.ai 發送消息,Chat ID 是頻道或群組的唯一標識符。以下是如何找到 Chat ID 的方法:

  • 對於公共頻道或群組:

    公共頻道都有一個固定的鏈接,該鏈接是您自行命名的,例如 t.me/yourChannel。您可以通過鏈接找到頻道的 Chat ID。

    • 點擊三點圖標並選擇 View channel info (查看頻道信息)

      “查看頻道信息”菜單項示意圖

    • 在頻道的 Link(t.me/yourChannel)中, t.me/ 之後的部分就是您的頻道ID,例如下圖中的 ttt_channel332。而 Chat ID 就是頻道名稱前再加上一個“@”,請在 Bika 的動作配置中填寫 @ttt_channel332

      頻道信息示意圖

  • 對於私人頻道和群組:

    私人頻道和群組沒有可以輕鬆找到 Chat ID 的辦法。您需要懂得一些基礎的編程技術,通過特殊手段來獲取 Chat ID,具體教程在網絡上有許多,這裡就不再展開,請自行搜索

4. 在自動化任務的編輯界面進行配置

  1. 在自動化任務的編輯界面添加一個新動作。

    添加“動作”的示意圖

  2. 動作類型選擇“發送消息至Telegram會話”。

    選擇“發送消息至Telegram會話”動作的示意圖

  3. 在配置界面中填寫相關參數。

    “發送消息至Telegram會話”動作的配置界面示意圖

    Bot Token (機器人令牌): 機器人的 API 令牌。

    Chat ID (會話ID): 頻道或群組的 Chat ID。

    Parse Mode (解析模式): Telegram 機器人支持發送純文本、Markdown 或 HTML 三種類型的消息內容,您可以根據 Telegram 官方的格式化說明進行消息內容的個性化排版。

    • MarkdownV2:支持一系列Markdown語法,以及Telegram擴展的語法。
    • HTML:支持若干html標籤的寫法,以及Telegram擴展的語法。
    • Plain: 不指定解析模式,消息內容將以默認方式發送,一般是純文本。

    消息內容: 要發送的消息內容,請注意語法正確,否則可能發送失敗。語法詳情請看格式化說明

  4. 保存並啟用自動化任務。

通過執行這些步驟,您的 Telegram 機器人將準備好與 bika.ai 一起自動化和簡化您的工作流程。

bika cta

推薦閱讀

推薦AI自動化模板

OKR Tracking
Companies recognize the importance of OKR tracking for alignment and productivity, but differ on the best approach. For a smooth and efficient way to manage OKRs, consider our tracking template—it's all you need to advance your company's vision.
PR & media CRM
This template helps manage media and public relations, track important articles, publications, and media contacts, and facilitate effective communication and collaboration.
商品目錄
一个包含产品和供应商表的产品目录模板。以售卖表带为例,记录表带的分类,材质,采购价格,供应商信息。
Product Feedback Analysis
This template is designed to help teams efficiently collect and analyze customer feedback. Users can upload reviews, feedback, or other relevant data to identify common issues. The customizable dashboard allows for easy viewing and analysis of data, ultimately enhancing the overall customer experience.
Product Feedback Form
The Product Feedback template is structured to collect and manage feedback efficiently. This template includes resources like a feedback form and a database, which together streamline the process of gathering, categorizing, and storing feedback data for product improvement.
Product/market fit system
This template is designed for a product/market fit system, featuring resources for collecting and analyzing user feedback. Key components include a product feedback form and survey response database, allowing the team to gather and structure user insights on the product’s value and improvement areas. The survey responses are organized into views, including one restricted to founders and managers. Additionally, a database for key product features supports the linkage of benefits and feedback insights, facilitating a comprehensive overview for product development and market alignment