diff options
Diffstat (limited to 'src/client/event_store.rs')
| -rw-r--r-- | src/client/event_store.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/event_store.rs b/src/client/event_store.rs index 4bd8459..0ba5301 100644 --- a/src/client/event_store.rs +++ b/src/client/event_store.rs @@ -55,6 +55,8 @@ pub struct EventStore { pub on_message_ack: Option<Arc<Fn(Context, ChannelId, Option<MessageId>) + Send + Sync + 'static>>, pub on_message_delete: Option<Arc<Fn(Context, ChannelId, MessageId) + Send + Sync + 'static>>, pub on_message_delete_bulk: Option<Arc<Fn(Context, ChannelId, Vec<MessageId>) + Send + Sync + 'static>>, + pub on_reaction_add: Option<Arc<Fn(Context, Reaction) + Send + Sync + 'static>>, + pub on_reaction_remove: Option<Arc<Fn(Context, Reaction) + Send + Sync + 'static>>, pub on_message_update: Option<Arc<Fn(Context, MessageUpdateEvent) + Send + Sync + 'static>>, pub on_note_update: Option<Arc<Fn(Context, UserId, String) + Send + Sync + 'static>>, pub on_presence_replace: Option<Arc<Fn(Context, Vec<Presence>) + Send + Sync + 'static>>, |