pub fn new(
        body: String,
        methods: Vec<VerificationMethod>,
        from_device: DeviceIdBox,
        to: UserId,
    ) -> Self {
        Self { body, methods, from_device, to }
    }
/// Creates a new `KeyVerificationRequestEventContent` with the given body, method, device and
/// user ID.
Creates a new `KeyVerificationRequestEventContent` with the given body, method, device and
user ID.
Creates a new ` KeyVerificationRequestEventContent ` with the given body method device and user ID .
pub fn new(
        body: String,
        methods: Vec<VerificationMethod>,
        from_device: DeviceIdBox,
        to: UserId,
    ) -> Self {
        Self { body, methods, from_device, to }
    }
pub fn new ( body : String , methods : Vec < VerificationMethod > , from_device : DeviceIdBox , to : UserId , ) -> Self { Self { body , methods , from_device , to } }
Creates a new `KeyVerificationRequestEventContent` with the given body, method, device and
user ID.
Creates a new ` KeyVerificationRequestEventContent ` with the given body method device and user ID .
body
String
methods
Vec<VerificationMethod>
from_device
DeviceIdBox
to
UserId