ruchern-chong / telegram-notify-bot-serverless

a nodejs serverless telegram bot for aws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Serverless Telegram Bot on AWS

A simple NodeJS Telegram bot using the Serverless Framework.

Frameworks Used

Requirements

Installation

  • Install the Serverless Framework
npm install -g serverless
  • Install the required plugins
npm install
cat serverless.env.yml

TELEGRAM_TOKEN: <your_token>
  • Deploy the application.
serverless deploy
  • Using setWebhook URL the configuration, register the webhook on Telegram
curl -X POST https://<api_endpoint_url>/prod/setWebhook

Usage

Now you can /start a conversation with the bot.

Removal

  • To delete the project from AWS.
serverless remove

Acknowledgements

About

a nodejs serverless telegram bot for aws


Languages

Language:JavaScript 100.0%