Struct matrix_sdk_crypto::RoomMessageRequest [−][src]
pub struct RoomMessageRequest {
pub room_id: RoomId,
pub txn_id: Uuid,
pub content: AnyMessageEventContent,
}Expand description
Customized owned request type for sending out room messages.
Fields
room_id: RoomIdThe room to send the event to.
txn_id: UuidThe transaction ID for this event.
Clients should generate an ID unique across requests with the same access token; it will be used by the server to ensure idempotency of requests.
content: AnyMessageEventContentThe event content to send.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RoomMessageRequest
impl Send for RoomMessageRequest
impl Sync for RoomMessageRequest
impl Unpin for RoomMessageRequest
impl UnwindSafe for RoomMessageRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more