sochix / TLSharp

Telegram client library implemented in C#
1.01k stars 380 forks source link

How we can get active sessions? (As we can see them in Telegram application). #907

Closed mianchoa closed 4 years ago

mianchoa commented 4 years ago

Hi guys, How we get get all active sessions via TLSharp? As we can see them in telegram application:

ActiveSessions

CheshireCaat commented 4 years ago

Official docs: link TLSharp class: link There is an example of sending a custom request in README.

CheshireCaat commented 4 years ago
var request = new TLRequestGetAuthorizations();

var response = await client.SendRequestAsync<TLAuthorizations>(request);
mianchoa commented 4 years ago

thank you very muh