Documentation ¶
Index ¶
- Variables
- func InitTestBot() (err error)
- func LoggedIn() bool
- func Login(token string) (err error)
- func NewStatusChangedMessage(domain string, changes []diff.Change) (msg tgbotapi.MessageConfig)
- func NewThresholdMessage(domain string, timeLeft int) (msg tgbotapi.MessageConfig)
- func Send(msg tgbotapi.MessageConfig) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Bot *tgbotapi.BotAPI
)
Functions ¶
func InitTestBot ¶
func InitTestBot() (err error)
func NewStatusChangedMessage ¶
func NewStatusChangedMessage(domain string, changes []diff.Change) (msg tgbotapi.MessageConfig)
func NewThresholdMessage ¶
func NewThresholdMessage(domain string, timeLeft int) (msg tgbotapi.MessageConfig)
func Send ¶
func Send(msg tgbotapi.MessageConfig) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.