instagram: No enviar la caption del video
This commit is contained in:
parent
7a86496fa7
commit
ab08250c1e
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func respond(bot *tgbotapi.BotAPI, update tgbotapi.Update, url *url.URL) common.
|
||||||
|
|
||||||
res := tgbotapi.NewVideo(update.Message.Chat.ID, tgbotapi.FileURL(lookup.VideoUrl))
|
res := tgbotapi.NewVideo(update.Message.Chat.ID, tgbotapi.FileURL(lookup.VideoUrl))
|
||||||
res.ReplyToMessageID = update.Message.MessageID
|
res.ReplyToMessageID = update.Message.MessageID
|
||||||
res.Caption = "@" + lookup.Author + ": " + lookup.Text
|
res.Caption = "@" + lookup.Author
|
||||||
bot.Send(res)
|
bot.Send(res)
|
||||||
return common.Uploaded
|
return common.Uploaded
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue