Documentation ¶ Index ¶ type Bot func NewBot(ctx context.Context, token string, chatId int64, api *api.Handler, ...) (*Bot, error) func (b *Bot) List() error func (b *Bot) Notify(message string) error func (b *Bot) Unwatch(batchId string) error func (b *Bot) Watch(name, batchId, balanceEndpoint, minBalance, topupBalance, interval string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bot ¶ type Bot struct { // contains filtered or unexported fields } func NewBot ¶ func NewBot(ctx context.Context, token string, chatId int64, api *api.Handler, logger logging.Logger) (*Bot, error) func (*Bot) List ¶ func (b *Bot) List() error func (*Bot) Notify ¶ func (b *Bot) Notify(message string) error func (*Bot) Unwatch ¶ func (b *Bot) Unwatch(batchId string) error func (*Bot) Watch ¶ func (b *Bot) Watch(name, batchId, balanceEndpoint, minBalance, topupBalance, interval string) error Source Files ¶ View all Source files telegram.go Click to show internal directories. Click to hide internal directories.