Telegram Management
The Telegram Management module is used to configure Telegram group notifications and bot settings.
Feature Overview
Group List (TG Chat List)
Manage bound Telegram groups:
| Field | Description |
|---|---|
| Group ID | Telegram Chat ID |
| Group Name | Group display name |
| Bound Merchant | Associated merchant |
| Notification Types | Enabled notification types |
| Status | Enabled/Disabled |
Add Group
Bind a new Telegram group:
- Click "Add Group"
- Enter group Chat ID
- Set group name
- Select bound merchant
- Configure notification types
- Save settings
Edit Group
Modify group configuration:
- Update group name
- Modify bound merchant
- Adjust notification types
- Enable/Disable group
Send Message
Manually send Telegram messages:
- Select target group
- Edit message content
- Select message template (optional)
- Send message
Notification Types
| Type | Description |
|---|---|
| Deposit Success | Notify when deposit order completes |
| Deposit Failed | Notify when deposit order fails |
| Payout Success | Notify when payout order completes |
| Payout Failed | Notify when payout order fails |
| Large Amount Alert | Alert for large transactions |
| Low Balance Alert | Alert for insufficient balance |
| System Error | Alert for system errors |
Bot Commands
Bound groups can use the following commands:
| Command | Description | Auth Required |
|---|---|---|
/pay <order_id> | Query order status | ✅ |
/balance [merchant_id] | Query wallet balance | ✅ |
/daily [merchant_id] | Today's deposit/payout stats | ✅ |
/okx [payment_method] | OKX USDT quotes | ❌ |
Configuration Steps
Bind New Group
- Create Telegram group
- Add bot to the group
- Get group Chat ID
- Add group configuration in backstage
- Test notification function
Get Chat ID
- Send any message in the group
- Use Bot API to query updates
- Get chat.id from response
Important Notes
- 🤖 Ensure bot has been added to the group
- 🤖 Bot needs permission to send messages
- 🤖 One group can only bind one merchant
- 🤖 Sensitive information will be masked