interface IParams {
    baseApis: MatrixClient;
    config: IRoomEncryption & object;
    crypto: Crypto;
    deviceId: string;
    olmDevice: OlmDevice;
    roomId?: string;
    userId: string;
}

Properties

baseApis: MatrixClient

base matrix api interface

config: IRoomEncryption & object

The body of the m.room.encryption event

crypto: Crypto

crypto core

deviceId: string

The identifier for this device.

olmDevice: OlmDevice

olm.js wrapper

roomId?: string

The ID of the room we will be sending to

userId: string

The UserID for the local user