G
G
GABASTAR2020-06-04 15:05:20
JavaScript
GABASTAR, 2020-06-04 15:05:20

How to use tdlib in JavaScript?

Hello, I decided to use the tdlib universal JavaScript library, made a build according to this instruction , but I don’t understand how to use the library itself and how to import it into the project, please help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nitrojs, 2020-06-05
@nitrojs

airgram

L
Lynatik001, 2020-07-30
@Lynatik001

Literally yesterday I did it - 2 days did not work with the build. a bunch of errors, etc. (using the instruction verbatim) the same as the author. I collected the version on Windows - in the end, I even finished it - the assembled one was adjusted - and it did not start - apparently even that I had the wrong version installed from the software or xs.
In general, I launched everything on the docker (again, with a ready-made tdlib) - in short, it doesn’t matter. The bottom
line is that if everything is successfully compiled for you. you should have a couple of .ddl files - on Windows
, in my case , this is the command field where you should push the path to the file. - the name of the cha can be different depending on what you compiled there command: '../usr/local/lib/libtdjson.so',

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question