pub mod unstable {
use ruma_common::{
api::{auth_scheme::AccessTokenOptional, request, response},
metadata,
};
metadata! {
method: GET,
rate_limited: true,
authentication: AccessTokenOptional,
history: {
unstable => "/_matrix/client/unstable/io.element.msc4388/rendezvous",
}
}
#[request]
pub struct Request {}
impl Request {
pub fn new() -> Self {
Self {}
}
}
#[response]
pub struct Response {
pub create_available: bool,
}
impl Response {
pub fn new(create_available: bool) -> Self {
Self { create_available }
}
}
}