tgbot-cpp
tgbot-cpp copied to clipboard
Problem in using BotCommand
I builded the library and imported in my project. Everything is working fine. I'm currently sending messages, pictures and other feature. When I tried to add a BotCommand using the code in the sample I cant build anymore the project and I have these errors.
error: ‘BotCommand’ was not declared in this scope
error: ‘BotCommand’ is not a class, namespace, or enumeration
What I should do to use BotCommand?
I think BotCommand is added in telegram bot api > 5.0. I guess this feature is not implemented in this library yet.
The BotCommand is now added to the library