Do wizards and scenes work in serverless environments? #1802
-
Hey, I'm just getting into Telegram (telegraf) bots and I have a couple of questions on how things work:
Thanks for developing this lib. Looks neat. |
Beta Was this translation helpful? Give feedback.
Answered by
palmerabollo
Feb 26, 2023
Replies: 2 comments 1 reply
-
@vidrepar yes, they work as long as you use a session backend. I've successfully used https://www.npmjs.com/package/telegraf-session-s3. There are also plugins for redis, dynamodb, and many other persistence alternatives. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
vidrepar
-
What @palmerabollo said, but you can just use the recently released official @telegraf/session plugin now :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vidrepar yes, they work as long as you use a session backend. I've successfully used https://www.npmjs.com/package/telegraf-session-s3. There are also plugins for redis, dynamodb, and many other persistence alternatives.