Files
clawgo/pkg/channels/telegram_stub.go
2026-03-10 14:18:29 +08:00

15 lines
329 B
Go

//go:build omit_telegram
package channels
import (
"github.com/YspCoder/clawgo/pkg/bus"
"github.com/YspCoder/clawgo/pkg/config"
)
type TelegramChannel struct{ disabledChannel }
func NewTelegramChannel(cfg config.TelegramConfig, bus *bus.MessageBus) (*TelegramChannel, error) {
return nil, errChannelDisabled("telegram")
}