From 69140cfe6a8cdafae67ba0925d9fc0cb9680a26e Mon Sep 17 00:00:00 2001 From: "Andrey Ivanov (NetMoose)" Date: Sun, 15 Jan 2023 15:28:54 +0500 Subject: [PATCH] Add link for post --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 354cb32..66ee086 100644 --- a/main.go +++ b/main.go @@ -178,7 +178,8 @@ func (config Config) RunSend() { bot.Debug = config.Telegram.SendDebug s := "" + string(v.Title) + "\n" + html.UnescapeString(string(v.Description)) + - "\nhttps://t.me/iv?url=" + v.Link + "&rhash=da76512d0ff2a2" + "\nhttps://t.me/iv?url=" + v.Link + "&rhash=da76512d0ff2a2" + + "\n\nСсылка на пост: " + v.Link msg := tgbotapi.NewMessage(config.Telegram.ChatId, s) msg.ParseMode = "Html" _, err = bot.Send(msg)