Updated readme

This commit is contained in:
Ilya Pirozhneko 2016-02-04 17:05:48 +03:00
parent 69700fdad0
commit 84cbe0afc8
3 changed files with 151 additions and 20 deletions

View file

@ -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);
}