mautrix.client — mautrix-python 0.21.0 documentation (original) (raw)

class mautrix.client.Client

Bases: EncryptingAPI, Syncer

Client is a high-level wrapper around the client API.

__init__(*args, sync_store=None, state_store=None, **kwargs)

Initialize a ClientAPI. You must either provide the api parameter with an existingmautrix.api.HTTPAPI instance, or provide the base_url and other arguments for creating it as kwargs.

Parameters:

Return type:

None

property crypto_: crypt.OlmMachine | None_

The crypto.OlmMachine to use for e2ee stuff.