eilvelia
eilvelia
@IlyaSemenov This issue has not been fixed. And I think it's not possible with node-ffi.
In version 5.1.0 I added `pause()` and `resume()` functions. You can use multiple clients, but not at the same time. Example: ```js const client1 = new Client(...) const client2 =...
> Would I get flood-waited by Telegram for connecting too much? `client.pause()` does not disconnect client, so no. You can do something like this, but it looks like ugly hack....
Just tested with [node addons](https://nodejs.org/api/n-api.html) instead of ffi and faced with the same errors that I described in https://github.com/Bannerets/tdl/issues/18#issuecomment-411823990.  It seems, problem in this part: `but shouldn't be called...
It turned out that `shouldn't be called simultaneously from two different threads` is applicable only for a fixed client: > Different instances are completely Independent. You shouldn't run receive simultameously...
@denisakov You need tdl v6 (`npm install [email protected]`). `tdl-tdlib-addon` is mostly just a proof-of-concept, and it most likely won't work from npm. You can copy it from the repository into...
Which version of TDLib do you use?
I checked it with TDLib v1.6.0 and can't reproduce it (I didn't test on Windows, though). Setting `useDefaultVerbosityLevel` to `true` just delays the problem.
Yes, apps built on airgram have to be GPL. It is considered a combined work. LGPL was specially created to avoid this. GPL is very rarely used for libraries. E.g....
Hi! `prebuilt-tdlib` does not support arm (this is stated in the README). You need to build TDLib from the source: https://github.com/tdlib/td#building and install it onto the system (`cmake --install .`),...