Interface OutgoingRoomKeyRequest

Represents an outgoing room key request

interface OutgoingRoomKeyRequest {
    cancellationTxnId?: string;
    recipients: IRoomKeyRequestRecipient[];
    requestBody: IRoomKeyRequestBody;
    requestId: string;
    requestTxnId?: string;
    state: RoomKeyRequestState;
}

Properties

cancellationTxnId?: string

Transaction id for the cancellation, if any

List of recipients for the request

requestBody: IRoomKeyRequestBody

Parameters for the request

requestId: string

Unique id for this request. Used for both an id within the request for later pairing with a cancellation, and for the transaction id when sending the to_device messages to our local server.

requestTxnId?: string

current state of this request