Inline Telegram bot to answer "How much is %shitcoin% right now?" kind of questions.
howto.mp4
-
Make sure you have AWS credentials configured and AWS SAM CLI installed. User should have permissions to IAM, S3, SNS, SQS, DynamoDB, APIGateway, SSM, Lambda, CloudWatchEvents and CloudFormation.
-
For the first time deployment, run this command to do a guided deploy and generate
samconfig.toml
:sam deploy --guided
Or this one if you already have
samconfig.toml
sam deploy
-
Take
WebhooksApi
value from the output and use it as theurl
insetWebhook
-
Go to AWS System Manager - Parameter Store and set proper values for all
/CoinMarketWhat/*
parameters. -
Lastly, you should manually trigger the
CacheFunction
to cache available assets and tickers. This needs to be done only once before start using the bot for the first time.
Logo by Denis Foster.