mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-06 15:04:25 +00:00
Fix broken SendAlbumAsync+InputMediaDocumentExternal
This commit is contained in:
parent
2451068a71
commit
d8f7304067
2 changed files with 1 additions and 2 deletions
|
|
@ -237,7 +237,6 @@ namespace WTelegram
|
|||
}
|
||||
catch (RpcException) { }
|
||||
string mimeType = null;
|
||||
ism.media = (await this.Messages_UploadMedia(peer, ism.media)).ToInputMedia();
|
||||
inputFile = await UploadFromUrl(imde.url);
|
||||
if (videoUrlAsFile || mimeType?.StartsWith("video/") != true)
|
||||
ism.media = new InputMediaUploadedDocument(inputFile, mimeType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue