How to inject Request (Telegram Context) ? #748
Unanswered
felinto-dev
asked this question in
Q&A
Replies: 1 comment
-
@felinto-dev I'm very glad someone is taking advantage of what I've done. Unfortunately right now I don't have the opportunity to deal with the module and I can't tell you how to solve your problem. If you need fixes, be sure to send PR or someone else can help. |
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
-
Hey!
https://docs.nestjs.com/fundamentals/injection-scopes#request-provider
I am developing a plugin for nestjs-telegraf
(still in alpha)
https://github.com/felinto-dev/tg-menu
And I have an advanced use-case. I need to inject the Telegraf request in a class like is possible in HTTP. Check the link above.
How I could do that using nestjs-telegraf?
Example
Expected solution:
Beta Was this translation helpful? Give feedback.
All reactions