binance-spot-connector-rust icon indicating copy to clipboard operation
binance-spot-connector-rust copied to clipboard

Can not work with teloxide

Open TycheGames opened this issue 9 months ago • 0 comments

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<Func> as Injectable<Input, Output, ()>> <Asyncify<Func> as Injectable<Input, Output, (A,)>> <Asyncify<Func> as Injectable<Input, Output, (A, B)>> <Asyncify<Func> as Injectable<Input, Output, (A, B, C)>> <Asyncify<Func> as Injectable<Input, Output, (A, B, C, D)>> <Asyncify<Func> as Injectable<Input, Output, (A, B, C, D, E)>> <Asyncify<Func> as Injectable<Input, Output, (A, B, C, D, E, F)>> <Asyncify<Func> as Injectable<Input, Output, (A, B, C, D, E, F, G)>>

TycheGames avatar May 11 '24 00:05 TycheGames