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.
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.
-
What @palmerabollo said, but you can just use the recently released official @telegraf/session plugin now :) |
Beta Was this translation helpful? Give feedback.
@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.