I want to ask. I upload video with UploadFileAsync and Post with SendMediaAsync but when I check chat there is show file without thumbnail and can't streaming (like common doc file). Can you show me how to use it for watch stream?
Here is my code:
WTelegram.Client.ProgressCallback progress = new WTelegram.Client.ProgressCallback((p,r) => {
Console.Write(p*100/r+"%\r");
});
SetLog("Uploading File...");
var inputFile = await client.UploadFileAsync("video\\myfile.mp4", progress);
var target = chats.chats[channelId];
SetLog($"Sending a message in chat {target.ID}: {target.Title}");
await client.SendMediaAsync(target, "Test", inputFile);
This is the above code result:
What I want to achieve: