Module commands

Module commands 

Source
Expand description

All the actions exposed to the frontend that returns a Result.

Functions§

fetch_user_profile
Fetches a given User Profile and adds it to this lib’s User Profile cache.
get_devices
Get the list of this user’s account registered devices.
login_and_create_new_session
Calling this function will create a new Matrix client and SQLite DB. It returns the serialized session to be persisted and then passed by your adapter when initiating the lib. This command must be implemented by the adapter.
submit_async_request
Submit a request to the Matrix Client that will be executed asynchronously.
verify_device
Start the SAS V1 Emoji verification process with another user’s device.