Aliaksei Levin
Aliaksei Levin
The file `db.sqlite` is malformed as the error states. You can't copy a file, which is used and actively changed by another program. Apps aren't supposed to interfere with the...
You can download the file by passing its identifier to `downloadFile`.
You need to close the corresponding TDLib instance by calling `close` method and waiting until it is closed.
`authorizationStateWaitTdlibParameters` means that you have to call `setTdlibParameters`. There are no other reasons to receive it.
You need to manually build `tdweb 1.8.39` using the instructions provided at https://github.com/tdlib/td/tree/master/example/web and use it instead of the outdated `tdweb` package available through npm.
> Well, if we can use MTProto then why the TDLib exists at all? TDLib exists to write alternative Telegram clients, because all other usages contradict Telegram API ToS. Besides...
Follow the instructions at https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html to install and activate emsdk 3.1.1.
``` ./emsdk install 3.1.1 ./emsdk activate 3.1.1 source ./emsdk_env.sh ```
You need to follow all instructions in README.
The list of all folders is received through the update `updateChatFolders, so you can do this yourself, but be aware that multiple chat folders can have the same name.