Documentation ¶
Index ¶
- type Bot
- func (b *Bot) PollUpdatesToChan(camIndex int, c chan jobs.Cmd)
- func (b *Bot) SendEvents(labels []string, data io.Reader, isAlert bool) error
- func (b *Bot) SendImageBytesBuf(imgBytes *bytes.Buffer) error
- func (b *Bot) SendImageBytesBufCaption(label string, data io.Reader) error
- func (b *Bot) SendMsg(msg string) error
- func (b *Bot) UpdateToCmd(update tgbotapi.Update) jobs.Cmd
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { AlertGroupID string CommandGroupID string // contains filtered or unexported fields }
func (*Bot) SendEvents ¶
SendEvents sends pics to Telegram
func (*Bot) SendImageBytesBufCaption ¶
Click to show internal directories.
Click to hide internal directories.