Replies: 1 comment
-
Hi, The previous version of the library, v4, did not support multiple file uploads. v5 now supports this. You can do something like the following: video := tgbotapi.NewVideo(chatID, tgbotapi.FilePath("video.mp4"))
video.Thumb = tgbotapi.FilePath("thumb.mp4")
msg, err := bot.Send(video) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want send video with thumb, but there is no field thumb in NewVideoUpload
Beta Was this translation helpful? Give feedback.
All reactions