mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +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.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
---
|
|
title: "Connect to Telegram Bot"
|
|
---
|
|
|
|
## Create Bot
|
|
|
|
Go to the [Telegram Bot Creation Page](https://t.me/botfather), follow the prompts, and create a bot.
|
|
|
|

|
|
|
|

|
|
|
|
After creation, BotFather will return an API Token, please keep it safe. Next, turn off `Privacy Mode` to use it in group chats.
|
|
|
|

|
|
|
|
## Connect to LangBot
|
|
|
|
Open the LangBot Webui page, create a new bot
|
|
|
|

|
|
|
|
After filling in, start LangBot. If configured successfully, the log will show `[02-02 16:48:15.263] manager.py (68) - [INFO] : Initializing platform adapter 1: telegram`, keep LangBot running.
|
|
|
|
## Use Bot
|
|
|
|
Now you can use the bot normally in groups or private messages.
|
|
|
|

|
|
|
|

|