From 9376114b26223da479cb75f3790a8751ab2fb048 Mon Sep 17 00:00:00 2001 From: CheshireCaat Date: Thu, 23 Jan 2020 03:16:50 +0300 Subject: [PATCH] Added methods for working with contacts. Added custom constructor for TLVector. --- TLSharp.Core/TelegramClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TLSharp.Core/TelegramClient.cs b/TLSharp.Core/TelegramClient.cs index d86b349..97d0f6d 100644 --- a/TLSharp.Core/TelegramClient.cs +++ b/TLSharp.Core/TelegramClient.cs @@ -269,7 +269,7 @@ namespace TLSharp.Core if (!IsUserAuthorized()) throw new InvalidOperationException("Authorize user first!"); - var req = new TLRequestGetContacts() { Hash = "" }; + var req = new TLRequestGetContacts {Hash = ""}; return await SendRequestAsync(req); }