GithubHelp home page GithubHelp logo

Comments (6)

FredericKanoute avatar FredericKanoute commented on June 6, 2024 1

I have tried updating the library in the wrapper to the latest version and now it works correctly.
Both the channel or group messages are received instantly.

Thank you very much for your help and your work!!!!!

from td.

levlam avatar levlam commented on June 6, 2024

Check that you use the latest TDLib with your wrapper. You can check TDLib's version by calling getOption("version").

from td.

FredericKanoute avatar FredericKanoute commented on June 6, 2024

Thank you very much for the reply.

This afternoon I installed it again on Ubuntu, so I understand that I am using the latest version.
The procedure used has been described in the tdlib installation instructions:

sudo apt-get upgrade
sudo apt-get install make git zlib1g-dev libssl-dev gperf php-cli cmake clang-14 libc++-dev libc++abi-dev
git clone https://github.com/tdlib/td.git
cd td
rm -rf build
mkdir build
cd build
CXXFLAGS="-stdlib=libc++" CC=/usr/bin/clang-14 CXX=/usr/bin/clang++-14 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=../tdlib ..
cmake --build . --target install
cd ..
cd ..
ls -l td/tdlib

I tried again and the same happens, the program works well when the message is not received on a channel or group,
In this case, add_message_handler function only is invoked after the message or messages are read manually on the android smartphone or desktop telegram application.

from td.

levlam avatar levlam commented on June 6, 2024

Are you sure that the wrapper uses the manually installed TDLib version? You need to check this with getOption.

from td.

FredericKanoute avatar FredericKanoute commented on June 6, 2024

I have obtained the version and it tells me the following:

'@type': 'optionValueString', 'value': '1.8.5'

from td.

levlam avatar levlam commented on June 6, 2024

This is a very old version. Current TDLib version is 1.8.28, and 1.8.5 is almost 2 years old.

from td.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.