mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-31 04:45:23 +08:00
* 重构文档结构:移除 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]>
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
---
|
|
title: "Telegram ボットに接続"
|
|
---
|
|
|
|
## ボットの作成
|
|
|
|
[Telegram Bot Creation Page](https://t.me/botfather)にアクセスし、プロンプトに従ってボットを作成します。
|
|
|
|

|
|
|
|

|
|
|
|
作成後、BotFather は API Token を返しますので、安全に保管してください。次に、グループチャットで使用するために「Privacy Mode」をオフにします。
|
|
|
|

|
|
|
|
## LangBot に接続
|
|
|
|
LangBot Webui ページを開き、新しいボットを作成します
|
|
|
|

|
|
|
|
入力後、LangBot を起動します。設定が成功した場合、ログに `[02-02 16:48:15.263] manager.py (68) - [INFO] : Initializing platform adapter 1: telegram` と表示されます。LangBot を実行し続けてください。
|
|
|
|
## ボットの使用
|
|
|
|
グループまたはプライベートメッセージでボットを通常どおり使用できるようになりました。
|
|
|
|

|
|
|
|

|