Stateful Matrix Client Helpers


[Up] [Top]

Documentation for package ‘mx.client’ version 0.1.1

Help Pages

mx.client-package Stateful Matrix Client Helpers
mx.client Stateful Matrix Client Helpers
mx_accept_invites Accept pending Matrix room invites
mx_client_configure Configure and save a Matrix client
mx_client_config_path Path to a Matrix client config file
mx_client_from_config Wrap a list as an mx.client config
mx_client_legacy_config_path Legacy Matrix config path for an application
mx_client_load Load a Matrix client config
mx_client_relogin Re-login with stored credentials and refresh the saved token
mx_client_save Save a Matrix client config
mx_client_session Build an mx.api session from a client config
mx_crypto_account Load or create this client's Olm account
mx_crypto_account_save Persist an Olm account to the store
mx_crypto_claim_otks Claim a one-time key for each device
mx_crypto_decrypt_event Decrypt an m.room.encrypted event (Megolm)
mx_crypto_device_keys Build a signed device_keys object for upload
mx_crypto_encrypt_event Encrypt event content for a room (Megolm)
mx_crypto_encrypt_for_devices Encrypt an event for an encrypted room's devices
mx_crypto_handle_to_device Decrypt an inbound Olm to-device payload
mx_crypto_inbound_session Build an inbound Megolm session from a shared room key
mx_crypto_known_devices List the devices (and identity keys) of some users
mx_crypto_process_sync Process a sync response: store room keys, decrypt room events
mx_crypto_publish_keys Publish this device's identity and one-time keys
mx_crypto_room_key_payload Encrypt a Megolm room key to one device as a to-device payload
mx_crypto_sessions_load Load a session set from the crypto store
mx_crypto_sessions_new Create an empty E2EE session set
mx_crypto_sessions_save Persist a session set to the crypto store
mx_crypto_store_dir Directory holding this client's encryption state
mx_extract_invites Extract pending invite room ids from a sync response
mx_extract_reaction_verdict Extract a reaction approval verdict from sync events
mx_extract_text_events Extract text message events from a sync response
mx_markdown_to_html Convert a conservative markdown subset to Matrix custom HTML
mx_pill_mentions Turn textual @mentions into matrix.to pills
mx_resolve_room Resolve a room id, name, or default room
mx_room_encrypted Is a room end-to-end encrypted?
mx_room_lookup_by_name Look up a joined room by display name
mx_send_encrypted Send an end-to-end encrypted message to a room
mx_send_media Send a media file to a Matrix room
mx_send_text Send plain text to a Matrix room
mx_sync_update Sync once and update the stored cursor
mx_with_relogin Run a client operation, re-logging in once on an expired token