mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-20 08:27:33 +08:00
hide unavailable channels in webui
This commit is contained in:
@@ -30,6 +30,8 @@ type DingTalkChannel struct {
|
||||
sessionWebhooks sync.Map // chatID -> sessionWebhook
|
||||
}
|
||||
|
||||
const dingtalkCompiled = true
|
||||
|
||||
// NewDingTalkChannel creates a new DingTalk channel instance
|
||||
func NewDingTalkChannel(cfg config.DingTalkConfig, messageBus *bus.MessageBus) (*DingTalkChannel, error) {
|
||||
if cfg.ClientID == "" || cfg.ClientSecret == "" {
|
||||
|
||||
Reference in New Issue
Block a user