reo7sp / tgbot-cpp

C++ library for Telegram bot API
http://reo7sp.github.io/tgbot-cpp
MIT License
1.01k stars 246 forks source link

Inline result for commands #142

Closed sebest06 closed 4 years ago

sebest06 commented 4 years ago

Hi, how i can do a inline result for my cmds? I see in other bots, a button like "[ / ]" near send button, when you push it, telegram write a slash in the input box, and then i see a inline result with the commands for the bot.

i tested the four classes inherited from "TgBot::GenericReply" and "getEvents.onCommand" and not appear

Any suggerens? Thanks

sebest06 commented 4 years ago

Close by i add this in a pull request