Update event creation endpoints to r0.6.1
This commit is contained in:
parent
43ae129ce2
commit
9074e4c17a
@ -1,4 +1,4 @@
|
|||||||
//! [PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}](https://matrix.org/docs/spec/client_server/r0.6.0#put-matrix-client-r0-rooms-roomid-send-eventtype-txnid)
|
//! [PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}](https://matrix.org/docs/spec/client_server/r0.6.1#put-matrix-client-r0-rooms-roomid-send-eventtype-txnid)
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
@ -41,8 +41,6 @@ ruma_api! {
|
|||||||
|
|
||||||
response {
|
response {
|
||||||
/// A unique identifier for the event.
|
/// A unique identifier for the event.
|
||||||
// This is not declared required in r0.6.0, but that was a bug that has now been fixed:
|
|
||||||
// https://github.com/matrix-org/matrix-doc/pull/2525
|
|
||||||
pub event_id: EventId,
|
pub event_id: EventId,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}](https://matrix.org/docs/spec/client_server/r0.6.0#put-matrix-client-r0-rooms-roomid-state-eventtype)
|
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}](https://matrix.org/docs/spec/client_server/r0.6.1#put-matrix-client-r0-rooms-roomid-state-eventtype)
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
@ -33,8 +33,6 @@ ruma_api! {
|
|||||||
|
|
||||||
response {
|
response {
|
||||||
/// A unique identifier for the event.
|
/// A unique identifier for the event.
|
||||||
// This is not declared required in r0.6.0, but that was a bug that has now been fixed:
|
|
||||||
// https://github.com/matrix-org/matrix-doc/pull/2525
|
|
||||||
pub event_id: EventId,
|
pub event_id: EventId,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}](https://matrix.org/docs/spec/client_server/r0.6.0#put-matrix-client-r0-rooms-roomid-state-eventtype-statekey)
|
//! [PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}](https://matrix.org/docs/spec/client_server/r0.6.1#put-matrix-client-r0-rooms-roomid-state-eventtype-statekey)
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
@ -37,8 +37,6 @@ ruma_api! {
|
|||||||
|
|
||||||
response {
|
response {
|
||||||
/// A unique identifier for the event.
|
/// A unique identifier for the event.
|
||||||
// This is not declared required in r0.6.0, but that was a bug that has now been fixed:
|
|
||||||
// https://github.com/matrix-org/matrix-doc/pull/2525
|
|
||||||
pub event_id: EventId,
|
pub event_id: EventId,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user