Trait carapax::handler::UpdateHandler
source · pub trait UpdateHandler {
// Required method
fn handle(&self, update: Update) -> impl Future<Output = ()> + Send;
}
Expand description
Represents an update handler for processing updates received from the Telegram Bot API.
Required Methods§
Object Safety§
This trait is not object safe.