Closed yvasyliev closed 2 years ago
UPDATE Solved by this W/A:
try (InputStream inputStream = new URL(videoUrl).openStream()) {
String fileName = videoUrl.substring(videoUrl.lastIndexOf('/') + 1);
SendVideo sendVideo = SendVideo.builder()
.chatId(String.valueOf(CHANNEL_ID))
.video(new InputFile(inputStream, fileName))
.caption(text)
.build();
execute(sendVideo);
}
Hi,
Could you please help me to understand why I can't send this video to telegram?
Link to video: https://v.redd.it/0w3soe17hve91/DASH_1080.mp4
My code
Stack trace
Dependency