Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenes and middleware #275

Open
Sanehhhhek opened this issue Apr 17, 2023 · 0 comments
Open

Scenes and middleware #275

Sanehhhhek opened this issue Apr 17, 2023 · 0 comments

Comments

@Sanehhhhek
Copy link

Hello, I did not see in your project the implementation of scenes such as in telegraf js, have you ever thought about adding such a module to your project?I started writing it, but I was faced with the impossibility of adding middleware to the object, which is also very useful when receiving actions from the bot user, based on middleware I would be able to localize scenes, and much more like bot authorization, etc. Middleware is a lambda function that, when receiving an update, performs any actions and skips it further or not. I tried to explain my thought, if you are intrigued by my idea, I would be glad to see the implementation of middleware in your project. I translate from Russian I hope you understand me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant