mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
Fix broken SendAlbumAsync+InputMediaDocumentExternal
This commit is contained in:
parent
2451068a71
commit
d8f7304067
2
.github/dev.yml
vendored
2
.github/dev.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
pr: none
|
||||
trigger: [ master ]
|
||||
|
||||
name: 4.2.5-dev.$(Rev:r)
|
||||
name: 4.2.6-dev.$(Rev:r)
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -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…
Reference in a new issue