projects
/
sylphiette-bot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
467b1fe
)
a space?
author
Eduardo
<
[email protected]
>
Thu, 28 Mar 2024 02:36:34 +0000
(
03:36
+0100)
committer
Eduardo
<
[email protected]
>
Thu, 28 Mar 2024 02:36:34 +0000
(
03:36
+0100)
bot.go
patch
|
blob
|
history
diff --git
a/bot.go
b/bot.go
index 88e50c3e788fecc3ba2ec322e88b946cb2a8d43a..3bfa621413c0e10a5b55fd314f86407aebf79c42 100644
(file)
--- 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