Merge f02a920ba0 into 6126ede963
This commit is contained in:
commit
8f02c017cb
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ func (c *DingTalkChannel) Send(ctx context.Context, msg bus.OutboundMessage) ([]
|
|||
// Get session webhook from storage
|
||||
sessionWebhookRaw, ok := c.sessionWebhooks.Load(msg.ChatID)
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("no session_webhook found for chat %s, cannot send message", msg.ChatID)
|
||||
return nil, fmt.Errorf("no session_webhook found for chat %s. Note: DingTalk channel requires an active user conversation to send messages. Proactive/cron messages are not supported", msg.ChatID)
|
||||
}
|
||||
|
||||
sessionWebhook, ok := sessionWebhookRaw.(string)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue