Send a contact message to your Telegram account.
Install according to the Serverless installation instructions:
Then run after cloning this repository:
npm install
Set the environmental variables in serverless.yml according to your values.
For example:
export TELEGRAM_API_KEY=xxxx
export TELEGRAM_CHAT_ID=xxxx
You can get your Telegram API key and chat ID by following this tutorial:
sls offline
sls deploy
Note, after deploying there are costs associated with invoking the function depending on cloud provider.
sls remove
If internal server error occurs, run before deploy:
chmod -R +r node_modules/
MIT