Replies: 1 comment 2 replies
-
https://github.com/eternnoir/pyTelegramBotAPI/blob/master/examples/serverless/aws_lambda_function.py |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wonder, how I could utilise pyTelegramBotApi handler decorators with AWS Lambda code (webhook)? In every example I could find the idea is to do manual parsing of message and detect the key word. Decorators not used. However, I suppose to make it possible to use decorators I need to pass body of event to some general handling method that next will route that to proper handler. Is it possible?
Beta Was this translation helpful? Give feedback.
All reactions