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

Getting "context type: telegraf not supported" #376

Closed
manuelscurti opened this issue May 6, 2021 · 2 comments
Closed

Getting "context type: telegraf not supported" #376

manuelscurti opened this issue May 6, 2021 · 2 comments

Comments

@manuelscurti
Copy link

Hello!
I am using Telegraf 4.3.0 and nestjs-telegraf 2.2.2.
I am creating a bot which uses a custom context, and for doing so I extended Context.
image

To test if everything works I created a sample @ Start command handler as follows:
image

When sending /start to the bot I can see the answer correctly displayed but in the log of the server I receive the following message:
context type: telegraf not supported

Am I missing anything in the configuration?

@bukhalo
Copy link
Owner

bukhalo commented May 14, 2021

Hi @manuelscurti, can you create a repository with an error example for I can look at the code?

@manuelscurti
Copy link
Author

Hi! Thanks for your answer. I was unable to reproduce the error. I think for now we can close this issue.

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

No branches or pull requests

2 participants