tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

node-tlg and tdlib 1.8.14 compatibility issues #2459

Closed garam-park closed 1 year ago

garam-park commented 1 year ago

env

image

my apiId and apiHash is valid but error come out.

note : if you want to test. check node version. latest version(18.14.0) does not work(It has issue - segmentation fault). I recommend 18.7.

c0re100 commented 1 year ago

Cause you're using a very old version of tdlib wrapper (committed on Dec 24, 2018).

levlam commented 1 year ago

The node-tlg library expects TDLib to have a fixed API, so it would be really hard to use it with any TDLib version except the version existed 5 years ago. You need to use another wrapper, which allows to send arbitrary requests to TDLib and doesn't depends on any particular TDLib version.