Configure Channels
Channels are the messaging platforms where your avatar operates. Each avatar can connect to multiple channels simultaneously.
Supported Channels
| Channel | Status | Connection Method |
|---|---|---|
| WebChat | Built-in | No setup needed |
| Telegram | Live | Bot Token |
| Discord | Live | Bot Token |
| Slack | Live | App Credentials |
| Feishu / Lark | Live | App Credentials |
| Coming soon | QR Code | |
| Zalo | Coming soon | QR Code |
Telegram
Getting a Bot Token
- Open Telegram and search for @BotFather
- Send
/newbotand follow the prompts to name your bot - BotFather will give you a Bot Token — copy it
- Paste the token into the Weavin channel setup form
Group Settings
To use your bot in group chats:
- Add the bot to your group
- Make it an admin (recommended, so it can read all messages)
- Alternatively, disable Group Privacy mode via BotFather (
/setprivacy→ Disable)
Your bot token is encrypted at rest using AES-256-GCM. Weavin never displays the full token after initial setup.
Discord
Creating a Bot Application
- Go to the Discord Developer Portal
- Click New Application and give it a name
- Navigate to Bot → click Add Bot
- Copy the Bot Token
- Under Privileged Gateway Intents, enable Message Content Intent
- Paste the token into the Weavin channel setup form
Inviting the Bot
Use the OAuth2 URL Generator in the Developer Portal:
- Scopes:
bot - Permissions:
Send Messages,Read Message History,View Channels
Copy the generated URL and open it in your browser to invite the bot to your server.
Slack
Creating a Slack App
- Go to api.slack.com/apps and click Create New App
- Choose From scratch, name your app, and select a workspace
- Navigate to OAuth & Permissions and add the required scopes:
chat:writechannels:historygroups:historyim:history
- Install the app to your workspace
- Copy the Bot User OAuth Token and paste it into Weavin
Feishu / Lark
Creating a Feishu App
- Go to the Feishu Open Platform and click Create Custom App
- Go to Credentials & Basic Info, copy the App ID and App Secret
- Go to Permissions & Scopes, add the following permissions and have an admin approve them:
im:message— receive messagesim:message:send_as_bot— send messages as botim:chat:readonly— access chat infocontact:contact.base:readonly— read user names and basic contact info
- Go to Features → Bot, enable it and set a bot name
- Paste the App ID, App Secret, and Bot Name into the Weavin channel setup form
All four permissions must be approved by a Feishu workspace admin before the bot can function properly. After adding them, click Batch activate and wait for admin approval.
Disconnect & Relink
If you need to change the bot token or re-authenticate a channel:
- Go to the Avatar detail page
- Click the channel you want to update
- Use Disconnect & Relink to enter new credentials
Disconnecting a channel will immediately stop the avatar from responding on that platform. Relinking with new credentials takes effect within seconds.