From 2e587678f11741158f8c91aab9b21ad96d139c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Go=C5=82aszewski?= Date: Wed, 20 Dec 2017 12:15:34 +0100 Subject: [PATCH] change hash value --- TLSharp.Core/TelegramClient.cs | 2 +- TeleSharp.TL/TeleSharp.TL.csproj | 70 +++++++++++++++++++++++++++----- 2 files changed, 61 insertions(+), 11 deletions(-) diff --git a/TLSharp.Core/TelegramClient.cs b/TLSharp.Core/TelegramClient.cs index 0692486..e0f953c 100644 --- a/TLSharp.Core/TelegramClient.cs +++ b/TLSharp.Core/TelegramClient.cs @@ -232,7 +232,7 @@ namespace TLSharp.Core if (!IsUserAuthorized()) throw new InvalidOperationException("Authorize user first!"); - var req = new TLRequestGetContacts() { Hash = "" }; + var req = new TLRequestGetContacts() { Hash = 0 }; return await SendRequestAsync(req); } diff --git a/TeleSharp.TL/TeleSharp.TL.csproj b/TeleSharp.TL/TeleSharp.TL.csproj index 7c6b30c..f25208d 100644 --- a/TeleSharp.TL/TeleSharp.TL.csproj +++ b/TeleSharp.TL/TeleSharp.TL.csproj @@ -119,6 +119,7 @@ + @@ -128,11 +129,13 @@ + + @@ -140,10 +143,11 @@ - + + @@ -168,6 +172,7 @@ + @@ -191,10 +196,15 @@ + + + + + @@ -217,6 +227,8 @@ + + @@ -242,6 +254,7 @@ + @@ -255,6 +268,7 @@ + @@ -271,6 +285,7 @@ + @@ -300,6 +315,7 @@ + @@ -370,9 +386,9 @@ + - @@ -413,6 +429,7 @@ + @@ -457,25 +474,42 @@ + + + + + + + + + + + + + + + + + + + + + + - - - - + - - - + @@ -580,7 +614,6 @@ - @@ -588,6 +621,8 @@ + + @@ -650,6 +685,11 @@ + + + + + @@ -669,6 +709,7 @@ + @@ -702,6 +743,7 @@ + @@ -753,6 +795,7 @@ + @@ -808,6 +851,7 @@ + @@ -819,6 +863,7 @@ + @@ -830,6 +875,7 @@ + @@ -840,7 +886,10 @@ + + + @@ -914,6 +963,7 @@ +