mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-14 00:17:34 +08:00
17 lines
361 B
Go
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")
|
|
}
|