This example shows how to program a basic Telegram Bot that uses inline keyboard buttons to interact with users.
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j8
./inline_buttons YOUR_BOT_TOKEN
- Open the Telegram mobile app and search BotFather
- Send BotFather a command /newbot
- Follow instructions to create a new Bot
- After you finish the instructions, you will receive a Bot Token, make sure you keep it secured.