Telegram Bot that greets people, powered by Cyclic. ⚡️
MIT License
Say hello to the Telegram Bot template! Built on the grammY framework and hosted by the Cyclic serverless platform.
Try it out now! @CyclicDemoBot
Make sure that you have the following programs installed on your own local machine.
Take your new Telegram bot live with one click. Free hosting. No credit card required.
NODE_ENV
environment variable to production
.Connect your Telegram bot to your server by sending the following HTTP request using your terminal:
export TELEGRAM_API_TOKEN=... # YOUR TELEGRAM API TOKEN
export TELEGRAM_WEBHOOK_URL=... # YOUR CYCLIC DEPLOYMENT URL
curl "https://api.telegram.org/bot$TELEGRAM_API_TOKEN/setWebhook?url=$TELEGRAM_WEBHOOK_URL"
git clone https://github.com/eludadev/telegram-bot && cd telegram-bot
.env
and add the following line:TELEGRAM_TOKEN=... # YOUR TELEGRAM API TOKEN
yarn
yarn dev
Note This feature is also known as Inline Queries.