1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/// `POST /_matrix/client/*/appservice/{appserviceId}/ping}`
///
/// Ask the homeserver to ping the application service to ensure the connection works.
/// `/v1/` ([spec])
///
/// [spec]: https://spec.matrix.org/latest/application-service-api/#post_matrixclientv1appserviceappserviceidping
use Duration;
use ToSchema;
use ;
use crateOwnedTransactionId;
use crateVisibility;
// const METADATA: Metadata = metadata! {
// method: POST,
// rate_limited: false,
// authentication: AccessToken,
// history: {
// unstable => "/_matrix/client/unstable/fi.mau.msc2659/appservice/:appservice_id/ping",
// 1.7 => "/_matrix/client/v1/appservice/:appservice_id/ping",
// }
// };
/// Request type for the `request_ping` endpoint.
/// Response type for the `request_ping` endpoint.
/// `PUT /_matrix/client/*/directory/list/appservice/{networkId}/{room_id}`
///
/// Updates the visibility of a given room on the application service's room directory.
/// `/v3/` ([spec])
///
/// [spec]: https://spec.matrix.org/latest/application-service-api/#put_matrixclientv3directorylistappservicenetworkidroomid
// const METADATA: Metadata = metadata! {
// method: PUT,
// rate_limited: false,
// authentication: AccessToken,
// history: {
// 1.0 => "/_matrix/client/r0/directory/list/appservice/:network_id/:room_id",
// 1.1 => "/_matrix/client/v3/directory/list/appservice/:network_id/:room_id",
// }
// };
/// Request type for the `set_room_visibility` endpoint.