import{_ as e,o as a,c as n,ag as o}from"./chunks/framework.CAXxHpAX.js";const u=JSON.parse('{"title":"Bot Channels","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started/channels.md","filePath":"getting-started/channels.md","lastUpdated":1776579425000}'),i={name:"getting-started/channels.md"};function r(l,t,s,d,h,c){return a(),n("div",null,[...t[0]||(t[0]=[o('

Bot Channels

Channels connect your Bot to various messaging platforms, allowing you to interact with it using your favorite chat applications.

Concept: Unified Communication

Memoh acts as a hub that bridges different messaging services. You can configure multiple channels for a single bot, enabling it to chat on Telegram, Discord, Matrix, and more simultaneously.


Supported Channels

Configure your bot's connections from the Platforms tab in the Bot Detail page.

Platform Guides

PlatformGuideNotes
TelegramTelegram ConfigurationStrong attachment and streaming support
Feishu (Lark)Feishu ConfigurationSupports webhook-style inbound mode
DiscordDiscord ConfigurationGood fit for communities and servers
QQQQ ConfigurationPersonal DM oriented
MatrixMatrix ConfigurationDecentralized homeserver support
MisskeyMisskey ConfigurationReplies and reactions, no streaming
DingTalkDingTalk ConfigurationEnterprise private/group chat
WeCom (WeWork)WeCom ConfigurationEnterprise workspace integration
WeChatWeChat ConfigurationPersonal QR login flow
WeChat Official AccountWeChat Official Account ConfigurationOfficial account webhook flow
SlackSlack ConfigurationReplies, no streaming

Two WeChat adapters exist on purpose:


Configuration Flow

1. Adding a Channel

  1. Click Add Channel.
  2. Select the platform from the list.
  3. Fill in the required credentials and configuration. The fields are dynamic and change based on the selected channel.

2. Common Fields

FieldDescription
CredentialsAPI tokens, secrets, or bot keys provided by the platform.
DisabledQuickly enable or disable a channel without removing its configuration.
RoutingConfigure how messages are mapped between the platform and Memoh.

3. Special Case: Feishu Webhook

If using Feishu in webhook inbound mode:

  1. Memoh will generate a Webhook Callback URL.
  2. Copy this URL and paste it into your Feishu App's event configuration.
  3. This allows Feishu to send messages directly to Memoh.

4. Special Case: WeChat QR Login

If using WeChat:

  1. After enabling the channel, a QR code flow is provided for connecting.
  2. Scan the QR code with WeChat to link the bot.

5. Special Case: WeChat Official Account Webhook

If using WeChat Official Account:

  1. Create and save the channel first.
  2. Memoh generates a Webhook Callback URL for that channel.
  3. Copy the callback URL into the WeChat Official Account platform configuration.
  4. Keep the configured Token, Encryption Mode, and optional AES settings aligned between Memoh and WeChat.

6. Special Case: DingTalk Stream Connection

If using DingTalk:

  1. Configure App Key and App Secret.
  2. Save and enable the channel.
  3. Memoh maintains the stream connection for inbound events; you do not need to manage a separate webhook callback URL for the standard setup.

Operations

',32)])])}const f=e(i,[["render",r]]);export{u as __pageData,f as default};