Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelegramPublisher ¶
type TelegramPublisher struct {
ChannelID string // Telegram channel id (e.g. @my_channel)
BotAPI *tgbotapi.BotAPI
}
func NewTelegramPublisher ¶
func NewTelegramPublisher(channelID, token string) (*TelegramPublisher, error)
Click to show internal directories.
Click to hide internal directories.