Files
LangBot/ja/usage/platforms/telegram.mdx
T
Xiaoyu SuandJunyan Chin 310c566148 refactor: migration to mintlify
* 重构文档结构:移除 docs 目录,调整文件组织结构

* Reorder "插件 SDK API" section in docs.json

* Refactor and clarify various documentation sections

* Refine warnings and info boxes across multiple docs

* Refactor and simplify Japanese documentation content

* Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management

* Update blog link and add description in docs.json

---------

Co-authored-by: Junyan Chin <[email protected]>
2026-02-21 23:55:53 +08:00

32 lines
1.3 KiB
Plaintext

---
title: "Telegram ボットに接続"
---
## ボットの作成
[Telegram Bot Creation Page](https://t.me/botfather)にアクセスし、プロンプトに従ってボットを作成します。
![Telegram Bot Creation](/images/zh/deploy/bots/telegram/telegram_01.png)
![Telegram Bot Creation](/images/zh/deploy/bots/telegram/telegram_02.png)
作成後、BotFather は API Token を返しますので、安全に保管してください。次に、グループチャットで使用するために「Privacy Mode」をオフにします。
![Telegram Bot API Token](/images/zh/deploy/bots/telegram/telegram_03.png)
## LangBot に接続
LangBot Webui ページを開き、新しいボットを作成します
![Connect to LangBot](/images/zh/deploy/bots/telegram/connect_to_langbot.png)
入力後、LangBot を起動します。設定が成功した場合、ログに `[02-02 16:48:15.263] manager.py (68) - [INFO] : Initializing platform adapter 1: telegram` と表示されます。LangBot を実行し続けてください。
## ボットの使用
グループまたはプライベートメッセージでボットを通常どおり使用できるようになりました。
![Telegram Bot Usage](/images/zh/deploy/bots/telegram/telegram_04.png)
![Telegram Bot Usage](/images/zh/deploy/bots/telegram/telegram_05.png)