Appservice server mixin
- class mautrix.appservice.AppServiceServerMixin
Bases:
object
- __init__(ephemeral_events=False, encryption_events=False, log=None, hs_token=None)
- async handle_matrix_event(event, ephemeral=False)
- Parameters:
event (mautrix.types.Event)
ephemeral (bool)
- Return type:
None
- async handle_transaction(txn_id, *, events, extra_data, ephemeral=None, to_device=None, otk_counts=None, device_lists=None)
- matrix_event_handler(func)
- register_routes(app)
- Parameters:
app (Application)
- Return type:
None
- log: logging.Logger
- device_list_handler: Callable[[DeviceLists], Awaitable] | None