From c4dbc1e3494be7aede45f99666aa0cc08db28c93 Mon Sep 17 00:00:00 2001 From: Mojtaba Tajik Date: Thu, 3 Oct 2019 08:37:09 +0330 Subject: [PATCH] Revert "Add get only Session field to TelegramClient" This reverts commit c66e722b79ca61e2a5b35acc7c517aee8b1f443c. --- TLSharp.Core/TelegramClient.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/TLSharp.Core/TelegramClient.cs b/TLSharp.Core/TelegramClient.cs index ebd17f2..d9f0454 100644 --- a/TLSharp.Core/TelegramClient.cs +++ b/TLSharp.Core/TelegramClient.cs @@ -29,11 +29,6 @@ namespace TLSharp.Core private List dcOptions; private TcpClientConnectionHandler _handler; - public Session Session - { - get { return _session; } - } - public TelegramClient(int apiId, string apiHash, ISessionStore store = null, string sessionUserId = "session", TcpClientConnectionHandler handler = null) {