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

[ 1][t 0][1722393961.183200836][tl_jni_object.cpp:39] Can't find field [reaction] with signature [Ljava/lang/String;] #3007

Closed handsomeQPO closed 2 months ago

handsomeQPO commented 3 months ago

when I start with the Java language,an error has occurred,is this because the tdjni.dll file is missing?

levlam commented 3 months ago

You have Java code and tdjni.dll from different TDLib versions.

handsomeQPO commented 3 months ago

i'll give it a try

handsomeQPO commented 3 months ago

How can I obtain the latest tdjni.dll file?

levlam commented 3 months ago

See https://github.com/tdlib/td/tree/master/example/java.

handsomeQPO commented 3 months ago

java.lang.UnsatisfiedLinkError: libssl.so.1.1 No such file or directory, but there is a libtdjni.so file in my directory,Is my openssl version too low??

levlam commented 3 months ago

You need to provide also all dependent libraries if you want to use the shared library on another server.

handsomeQPO commented 3 months ago

The dependency package compiled by my Ubuntu operating system machine only has one tdjni.so file

handsomeQPO commented 3 months ago

But it cannot be used on another machine

levlam commented 3 months ago

You must install the same OpenSSL version on the other machine, or provide relevant OpenSSL libraries along with libtdjni.so.

handsomeQPO commented 2 months ago

error: in triplet x64-windows: Unable to find a valid Visual Studio instance,Microsoft Visual Studio\2022\Community\VC\Auxiliary/Build\vcvarsall.bat

handsomeQPO commented 2 months ago

What's the reason for this

levlam commented 2 months ago

You didn't install Visual Studio, or didn't enable C++ support during installation, or didn't restart shell after installation.

handsomeQPO commented 2 months ago

What functions should I send when I receive the CONSTRUCTOR response for OptionValueString?

levlam commented 2 months ago

What do you mean?

handsomeQPO commented 2 months ago

When i execute new TdApi.SetAuthenticationPhoneNumber(),what steps did TdApi perform.

levlam commented 2 months ago

It executes the request with provided parameters. You may also want to read https://core.telegram.org/tdlib/getting-started.