Skip to main content

BotEvent

Type Alias BotEvent 

Source
pub type BotEvent = Arc<Event>;

Aliased Type§

pub struct BotEvent { /* private fields */ }

Trait Implementations§

Source§

impl FromEvent for BotEvent

Source§

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