Skip to main content

Module requests

Module requests 

Source
Expand description

Request types that can be sent over NATS

Structs§

AddFederatedEvent
Command to add an event we received over federation to the DAG
AddFederatedEventCommand
Command to add a PDU to the DAG
AddNewEvent
Add an event to some room in which we are already participating
AddRoomMemberEvent
Command to add a new m.room.member event.
AddRoomMemberEventRequest
A request to add a new member event to a room
ContextualizeEvent
Command to contextualize an event
CreateRoom
POST /_matrix/client/*/createRoom
CreateRoomRequest
A request to create a room
FederatedMatrixError
Wrapper around a matrix error we received over federation
ForgetRoom
Command to mark a room as forgotten
GetRoomEvent
GET /_matrix/client/*/rooms/{roomId}/event/{eventId}
GetRoomMembers
GET /_matrix/client/v3/rooms/{roomId}/members
GetStateEvents
GET /_matrix/client/v3/rooms/{roomId}/state
GetStateEventsDiffRequestParameters
Parameters for getting state event diffs
GetStateEventsDiffResponse
Response for getting state event diffs
GetStateEventsDiffs
Command to get state event diffs
GetStateEventsForKey
GET /_matrix/client/v3/rooms/{roomId}/state/{eventType}/{stateKey}
NewEvent
ReadMarkerRequest
Request to add a read receipt in a room.
ReadReceipt
Command to add a read receipt for a user in a specific room.
ReadReceiptRequest
Request to add a read receipt in a room.
RedactEvent
PUT /_matrix/client/v3/rooms/{roomId}/redact/{eventId}/{txnId}
SetFullyReadMarker
Command to add a read marker for a user in a specific room.
TransactionInformation
UnknownCommand
UnsupportedRoomVersionError
Error when a room version is requested, which we do not support

Enums§

AddFederatedEventError
AddNewEventError
AddRoomMemberEventError
ContextualizeEventError
CreateRoomError
ForgetRoomError
GetRoomEventError
GetRoomMembersError
GetStateEventsDiffError
GetStateEventsError
GetStateEventsForKeyError
ReadMarkerError
ReadReceiptError
RedactEventError

Constants§

MAX_TRANSACTIONID_LENGTH
The maximum length of any transaction ID the homeserver will accept.

Traits§

APICall
Trait that describes a possible API call over NATS

Type Aliases§

ErrorOf
The error type for a given API call