|
|
|
|
@ -178,7 +178,7 @@ func (config Config) RunSend() {
@@ -178,7 +178,7 @@ func (config Config) RunSend() {
|
|
|
|
|
bot.Debug = config.Telegram.SendDebug |
|
|
|
|
|
|
|
|
|
s := "<b>" + string(v.Title) + "</b>\n" + html.UnescapeString(string(v.Description)) + |
|
|
|
|
"\n" + v.Link |
|
|
|
|
"\nhttps://t.me/iv?url=" + v.Link + "&rhash=da76512d0ff2a2" |
|
|
|
|
msg := tgbotapi.NewMessage(config.Telegram.ChatId, s) |
|
|
|
|
msg.ParseMode = "Html" |
|
|
|
|
_, err = bot.Send(msg) |
|
|
|
|
|