This example shows how to program a Telegram Bot that can generate QrCode images from text and extract text from QrCode Images.
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j8
./qrcode_bot 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.