Represents a received m.room_key_request event

Constructors

Properties

deviceId: string

device requesting the key

requestBody: IRoomKeyRequestBody
requestId: string

unique id for the request

share: (() => void)

callback which, when called, will ask the relevant crypto algorithm implementation to share the keys for this request.

userId: string

user requesting the key