From 8bc866271a24d3283f3c49d5e5b99bb7b092b2c3 Mon Sep 17 00:00:00 2001 From: Eduardo Date: Thu, 28 Mar 2024 03:36:34 +0100 Subject: [PATCH] a space? --- bot.go | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2