From: Eduardo Date: Thu, 28 Mar 2024 02:36:34 +0000 (+0100) Subject: a space? X-Git-Url: http://git.edufdez.es/?a=commitdiff_plain;h=8bc866271a24d3283f3c49d5e5b99bb7b092b2c3;p=sylphiette-bot.git a space? --- diff --git a/bot.go b/bot.go index 88e50c3..3bfa621 100644 --- a/bot.go +++ b/bot.go @@ -262,6 +262,7 @@ func sendTelegramMessage(chatId int64, text string) error { _, err := telegram.Send(msg) return err } + func sendTelegramPhoto(chatId int64, photo string, text string) error { msg := tgbotapi.NewPhoto(chatId, tgbotapi.FileURL(photo)) msg.ParseMode = tgbotapi.ModeHTML