Reputation: 198
I want to do following:
I read official telegram document and this unofficial, but I couldn't find anything. I looking for something like "getSessions".
Upvotes: 0
Views: 540
Reputation: 2441
you can do these steps:
call the below api: account.getAuthorizations#e320c158 = account.Authorizations;
use date_created and date_active of the Authorization object. (#7bf2e6f6)
call the below api by providing your desired session's hash:
account.resetAuthorization#df77f3bc hash:long = Bool;
you're done!
Upvotes: 1