Browse Source

Add IV link for send to Telegram

main
parent
commit
8cd425d0f6
  1. 2
      main.go

2
main.go

@ -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)

Loading…
Cancel
Save