Telegram Channel Configuration
This guide walks you through connecting your Memoh Bot to Telegram. Telegram is one of the most supported platforms in Memoh, featuring streaming responses, Markdown formatting, and attachment support.
Step 1: Create a Telegram Bot
You need to create a bot on Telegram to get an API token.
- Open Telegram and search for the official @BotFather bot.
- Send the
/newbotcommand. - Follow the prompts:
- Name: Choose a display name for your bot (e.g.,
My Memoh Bot). - Username: Choose a unique username ending in
bot(e.g.,my_memoh_bot).
- Name: Choose a display name for your bot (e.g.,
- BotFather will provide you with an API Token (e.g.,
123456789:ABCdefGHIjklMNOpqrsTUVwxyz). Keep this token secret.
Official Guide: Telegram Bot Tutorial
Step 2: Configure Memoh
- Go to your Bot's Detail Page in the Memoh Web UI.
- Select the Platforms tab.
- Click Add Channel and select Telegram.
- Paste your API Token into the credentials field.
- Click Save and Enable.
Step 3: Bind Your Identity (Optional)
Binding your Telegram identity to your Memoh account enables cross-platform identity recognition — the bot will know who you are regardless of which channel you use.
- In Memoh Web UI, go to Profile > Bind Code.
- Select Telegram and click Generate.
- Copy the code.
- Open a chat with your new bot on Telegram and send the bind code.
- The bot should respond that your identity is successfully linked.
Features Supported
- Streaming: Responses appear as the bot "thinks."
- Markdown: Support for bold, italic, code blocks, and links.
- Attachments: Send images or files to the bot; the bot can also send files back.
- Replies: The bot understands context from message replies.
