DingTalk Channel Configuration
Memoh supports DingTalk bots for private chats and group chats. The adapter uses DingTalk's stream connection for inbound events and the official APIs for outbound replies and media.
Step 1: Create A DingTalk App
- Open the DingTalk developer platform for your organization.
- Create or choose the app that will act as your bot.
- Enable the bot / messaging capability for that app.
- Copy the app credentials:
- App Key
- App Secret
Depending on your DingTalk environment, you may also need to grant message permissions and publish the app before it is available to end users.
Step 2: Configure Memoh
- Open your bot in the Memoh Web UI.
- Go to Platforms.
- Click Add Channel and choose DingTalk.
- Fill in App Key and App Secret.
- Click Save and Enable.
Memoh maintains the DingTalk stream connection automatically. For the normal setup, you do not need to manually paste a webhook callback URL.
Step 3: Verify Messaging
After the channel is enabled:
- Send a private message to the DingTalk bot, or mention it in a supported group chat.
- Confirm the bot receives the message and can reply.
Features Supported
- Private chats
- Group chats
- Text and Markdown-style output
- Replies
- Attachments and media
Current behavior note:
- Outbound responses are non-streaming on DingTalk in Memoh.