mtx::events::msg::KeyVerificationRequest struct

Content of the m.key.verification.request event.

Public variables

std::string from_device
The device ID which is initiating the request.
std::optional<std::string> to
The device ID to which the key verification request is meant,used only for to-device verification.
std::optional<std::string> transaction_id
An opaque identifier for the verification request. Must be unique with respect to the devices involved.
std::optional<std::string> msgtype
must be key.verification.request, this field will be needed only in room verification
std::vector<VerificationMethods> methods
The verification methods supported by the sender.
std::optional<uint64_t> timestamp
The POSIX timestamp in milliseconds for when the request was made. If the request is in the future by more than 5 minutes or more than 10 minutes in the past, the message should be ignored by the receiver.