View Source MatrixAppService.Adapter.Transaction behaviour (MatrixAppService v0.3.1)
Behaviour for a module that handles transactions involving registered users and rooms.
Link to this section Summary
Callbacks
Called when the application service receives an event.
Link to this section Callbacks
@callback new_event(%MatrixAppService.Event{ age: term(), content: term(), event_id: term(), id: term(), origin_server_ts: term(), redacts: term(), room_id: term(), sender: term(), state_key: term(), type: term(), unsigned: term(), user_id: term() }) :: any()
Called when the application service receives an event.