tdl icon indicating copy to clipboard operation
tdl copied to clipboard

Node.js bindings to TDLib 🥒

Results 24 tdl issues
Sort by recently updated
recently updated
newest added

```node download-td-api-tl.js ``` and ```node download-td-api-tl.js latest``` now download v*.tl scheme from https://github.com/tdlib/td/raw/master/td/generate/scheme/td_api.tl version extracted from https://raw.githubusercontent.com/tdlib/td/master/td/telegram/Td.h

Hi, first I want to thank you for this library. It's awesome! saving a lot of time :) There are 2 issues I'm having at the moment. 1. V8 Memory...

Status: Cannot reproduce

Last night, my session crashed, I deleted the folder with it and the next day (today) when I run the script, I get UPDATE_APP_TO_LOGIN (error code: 406).

hey, i already have the following code get the last message of a chat. but i like to get the last n messages from a chat. can someone explain to...

Type: Question
TDLib Issue

Hi guys, I'm trying to handle updateNewMessage events for a specific chat (is a channel). But some times, the listener only run and receive the event when I access the...

Type: TDLib Issue

``` make: Entering directory '/home/hr/node_modules/ffi-napi/build' CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o AR(target) Release/obj.target/../node-addon-api/src/nothing.a COPY Release/nothing.a CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o CC(target) Release/obj.target/ffi/deps/libffi/src/types.o CC(target) Release/obj.target/ffi/deps/libffi/src/raw_api.o CC(target) Release/obj.target/ffi/deps/libffi/src/java_raw_api.o CC(target) Release/obj.target/ffi/deps/libffi/src/closures.o ../deps/libffi/src/closures.c: In function ‘dlmmap_locked’: ../deps/libffi/src/closures.c:421:7: warning: ignoring return value...

Scope: tdl-tdlib-ffi

It exists in TDLib since v1.6.10. https://github.com/tdlib/td/blob/cb86d3891301cfc8c76362d833163d3e28505c17/td/telegram/td_json_client.h#L98 _Update_: - [x] Added in tdl v7.4.0+ using the `useNewTdjsonInterface` experimental option in `tdl.configure`, though the old interface still seems to work well.

I started 5 clients and immediately I'm seeing this error: ``` libc++abi.dylib: terminating with uncaught exception of type Napi::Error Abort trap: 6 ``` Any suggestions?

Status: Acknowledged
Scope: tdl-tdlib-ffi

This is an issue in [ffi-napi](https://github.com/node-ffi-napi/node-ffi-napi#node-ffi-napi), which doesn't support worker threads. Just writing this down for now. Example: ```js const { Worker, isMainThread } = require('worker_threads') const wait = ms...

Status: Blocked
Scope: tdl-tdlib-ffi

This appears to be an issue with tdlib, but I'm wondering how I can (a) fix it and/or (b) detect it so I can work around the problem by disconnecting...

Type: TDLib Issue