Skip to main content

BotContext

Type Alias BotContext 

Source
pub type BotContext = Arc<Context>;

Aliased Type§

pub struct BotContext { /* private fields */ }

Trait Implementations§

Source§

impl FromEvent for BotContext

Source§

fn from_event<'async_trait>( context: BotContext, __arg1: BotEvent, ) -> Pin<Box<dyn Future<Output = Option<Self>> + Send + 'async_trait>>
where Self: 'async_trait,