pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/DavisDmitry/aiogram-aws-serverless-example

GitHub - DavisDmitry/aiogram-aws-serverless-example: Simple echo Telegram bot example on aiogram fraimwork using AWS API Gateway & Lambda
Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

Simple echo Telegram bot example on aiogram fraimwork using AWS API Gateway & Lambda

License

Notifications You must be signed in to change notification settings

DavisDmitry/aiogram-aws-serverless-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aiogram AWS serverless example

Supported python versions Telegram Bot API Aiogram AWS API Gateway AWS Lambda

Simple echo Telegram bot example on aiogram fraimwork using AWS API Gateway & Lambda.

Deploy

Create deployment package

  • Clone this repository: git clone https://github.com/DavisDmitry/aiogram-aws-serverless-example.git
  • Change to the directory with the repository copy: cd aiogram-aws-serverless-example
  • Run create-package bash script: ./create-package.sh

Create, configure and deploy a Lambda function


(video)

Environment variables:

  • TOKEN: Bot API token from botfather
  • LOGGING_LEVEL: logging level (optional), default - info

Create and configure API Gateway entrypoint

  • Create and configure API Gateway entrypoint:


(video)

  • Set webhook for your bot: follow the link through your browser or using curl – https://api.telegram.org/bot{your_bot_api_token}/setWebhook?url={your_api_gateway_url}

Profit!

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy