Closed wasimjee closed 4 years ago
You can use await TelegramClient.Connect(ApiId, new FileSessionStore("session_file_name"))
for multiple accounts.
If you need a different way to work with sessions, you can implement custom ISessionStore
(Load
and Save
methods) and pass it instead of FileSessionStore
.
Thanks done
How can we connect using stored sessions from session.dat file
for
await TelegramClient.Connect()