Trait matrix_bot::handler::MessageHandler [−][src]
Required methods
#[must_use]fn handle_message<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
bot: &'life1 MatrixBot,
room: &'life2 SyncRoom,
event: &'life3 SyncMessageEvent<MessageEventContent>
) -> Pin<Box<dyn Future<Output = HandleResult> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
bot: &'life1 MatrixBot,
room: &'life2 SyncRoom,
event: &'life3 SyncMessageEvent<MessageEventContent>
) -> Pin<Box<dyn Future<Output = HandleResult> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,