tgbot-cpp icon indicating copy to clipboard operation
tgbot-cpp copied to clipboard

C++ library for Telegram bot API

Results 79 tgbot-cpp issues
Sort by recently updated
recently updated
newest added

error: undefined reference to `TgBot::Api::Api(std::__cxx11::basic_string const&)' I have been linking libraries as per given on github. The Samples work just fine, when i try to implement in other programs, the...

bug
in Api

Hey, **Disclaimer:** Please be aware, I am not suuuper familiar with C++, so any improvements and best practise suggestions are most welcome! I am having trouble with sending messages if...

I can't find any possible method to do that in C++. Example: I have this part of code: ``` bot.getApi().sendMessage(message->chat->id, "|", false, 0, 0, "Markdown", false); Sleep(5000); bot.getApi().editMessageText("/", message->chat->id, message->messageId,...

CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: system) (found version "1.59.0") Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.24/Modules/FindBoost.cmake:2376 (find_package_handle_standard_args) CMakeLists.txt:9 (find_package) i...

As this package is on VCPKG and didn't got updated to the last version, I suggest to [update it](https://github.com/microsoft/vcpkg/tree/master/ports/tgbot-cpp)

I need my bot to respond to events and while I can do that inside the long poll loop, the poll itself takes a bit of time before it returns....

I am compiling my program using the command `g++ -std=c++17 main.cpp -lcurl -lwebsockets -lTgBot -lboost_system -lssl -lcrypto -lpthread -lboost_thread -ldl -o main`. I am converting it from my mac to...

app crashes when setting in bot chat automatic deletion of messages "message_auto_delete_timer_changed":{"message_auto_delete_time":518400}

Is there a way to make a phone call through tgbot-cpp? If so what functions do I need?