client-api: Reorder send_message_event Request fields
So path params are in the order they occur in the path.
This commit is contained in:
parent
8f6a7aeedc
commit
ed7f673d0e
@ -20,6 +20,10 @@ ruma_api! {
|
||||
#[ruma_api(path)]
|
||||
pub room_id: &'a RoomId,
|
||||
|
||||
/// The type of event to send.
|
||||
#[ruma_api(path)]
|
||||
pub event_type: &'a str,
|
||||
|
||||
/// The transaction ID for this event.
|
||||
///
|
||||
/// Clients should generate an ID unique across requests with the
|
||||
@ -28,10 +32,6 @@ ruma_api! {
|
||||
#[ruma_api(path)]
|
||||
pub txn_id: &'a str,
|
||||
|
||||
/// The type of event to send.
|
||||
#[ruma_api(path)]
|
||||
pub event_type: &'a str,
|
||||
|
||||
/// The event content to send.
|
||||
#[ruma_api(body)]
|
||||
pub body: Raw<AnyMessageEventContent>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user