mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 14:37:04 +00:00
Updated readme
This commit is contained in:
parent
69700fdad0
commit
84cbe0afc8
3 changed files with 151 additions and 20 deletions
|
|
@ -169,9 +169,7 @@ namespace TLSharp.Tests
|
|||
|
||||
Assert.IsNotNull(mediaFile);
|
||||
|
||||
var state = await client.SendMediaMessage(
|
||||
new InputPeerContactConstructor(res.Value),
|
||||
new InputMediaUploadedPhotoConstructor(mediaFile));
|
||||
var state = await client.SendMediaMessage(res.Value, mediaFile);
|
||||
|
||||
Assert.IsTrue(state);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue