Versions in this module Expand all Collapse all v0 v0.0.2 Aug 11, 2023 v0.0.1 Jul 9, 2023 Changes in this version + type Telegram struct + func (t *Telegram) Connect(token string, isDebug bool) (*tgbotapi.BotAPI, error) + func (t *Telegram) GetUpdate(client *tgbotapi.BotAPI) tgbotapi.Update + func (t *Telegram) Send(client *tgbotapi.BotAPI, chatID int64, text string) error + func (t *Telegram) SendReplay(client *tgbotapi.BotAPI, chatID int64, replayID int, text string) error + func (t *Telegram) ShareImage(client *tgbotapi.BotAPI, chatID int64, fileID string) error + func (t *Telegram) UploadImageByte(client *tgbotapi.BotAPI, chatID int64, photoBytes []byte) error + func (t *Telegram) UploadImagePath(client *tgbotapi.BotAPI, chatID int64, photoPath string) error