You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One TDLib Client can manage only one account, but there is no limit on number of clients that can be created in one process. So you can create as much TDLib Clients as you want and initialize them with different database and file folders for different accounts.
The text was updated successfully, but these errors were encountered:
volodalexey
changed the title
Use multiple accounts with TdLib
Use multiple accounts (Airgram instances) with TdLib
Jan 26, 2020
Issue type:
[x] question
Airgram version:
[x]
2.3.0
TDLib version:
[x]
1.5.0
Steps to reproduce or a small repository showing the problem:
How can I run Airgram as a bot and Airgram as a user at the same time?
If I use this (the same
apiId
andapiHash
):I get an error:
[ 0][t 0][1580065911.360865116][Client.cpp:272] Check `!is_locked` failed
I see that this is possible here
The text was updated successfully, but these errors were encountered: