Add get only Session field to TelegramClient

This commit is contained in:
Felony 2019-10-02 18:18:42 +03:30
parent 4a663d89b3
commit c66e722b79

View file

@ -29,6 +29,11 @@ namespace TLSharp.Core
private List<TLDcOption> 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)
{