Documentation ¶ Index ¶ func ConnectTelegram(cfg *config.Env) (telegramBot *bot.BotAPI, err error) type Bot func NewBot(cfg *config.Env, telegramBot *bot.BotAPI) *Bot func (pkg *Bot) TelegramSendMessage(message string) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConnectTelegram ¶ func ConnectTelegram(cfg *config.Env) (telegramBot *bot.BotAPI, err error) Types ¶ type Bot ¶ type Bot struct { TelegramBot *bot.BotAPI // contains filtered or unexported fields } func NewBot ¶ func NewBot(cfg *config.Env, telegramBot *bot.BotAPI) *Bot func (*Bot) TelegramSendMessage ¶ func (pkg *Bot) TelegramSendMessage(message string) (err error) Source Files ¶ View all Source files bot.gotelegram.go Click to show internal directories. Click to hide internal directories.