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

17 lines
361 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 }
const telegramCompiled = false
func NewTelegramChannel(cfg config.TelegramConfig, bus *bus.MessageBus) (*TelegramChannel, error) {
return nil, errChannelDisabled("telegram")
}