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

Can not work with teloxide #17

Open
TycheGames opened this issue May 11, 2024 · 0 comments
Open

Can not work with teloxide #17

TycheGames opened this issue May 11, 2024 · 0 comments

Comments

@TycheGames
Copy link

the trait bound fn(teloxide::Bot, teloxide::prelude::Message, Me) -> impl Future<Output = std::result::Result<(), Box<(dyn std::error::Error + std::marker::Send + Sync + 'static)>>> {message_handler}: Injectable<DependencyMap, _, _> is not satisfied
the following other types implement trait Injectable<Input, Output, FnArgs>:
<Asyncify as Injectable<Input, Output, ()>>
<Asyncify as Injectable<Input, Output, (A,)>>
<Asyncify as Injectable<Input, Output, (A, B)>>
<Asyncify as Injectable<Input, Output, (A, B, C)>>
<Asyncify as Injectable<Input, Output, (A, B, C, D)>>
<Asyncify as Injectable<Input, Output, (A, B, C, D, E)>>
<Asyncify as Injectable<Input, Output, (A, B, C, D, E, F)>>
<Asyncify as Injectable<Input, Output, (A, B, C, D, E, F, G)>>

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