2026-02-20 15:25:44 +00:00
|
|
|
package wecom
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/sipeed/picoclaw/pkg/bus"
|
|
|
|
|
"github.com/sipeed/picoclaw/pkg/channels"
|
|
|
|
|
"github.com/sipeed/picoclaw/pkg/config"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
channels.RegisterFactory("wecom", func(cfg *config.Config, b *bus.MessageBus) (channels.Channel, error) {
|
2026-03-24 07:03:41 +00:00
|
|
|
return NewChannel(cfg.Channels.WeCom, b)
|
2026-02-28 05:25:37 +00:00
|
|
|
})
|
2026-02-20 15:25:44 +00:00
|
|
|
}
|