Struct ruma_client_api::r0::context::get_context::Request
[−]
[src]
pub struct Request {
pub event_id: EventId,
pub limit: u8,
pub room_id: RoomId,
}Data for a request to this API endpoint.
Fields
event_id: EventId
The event to get context around.
limit: u8
The maximum number of events to return.
Defaults to 10 if not supplied.
room_id: RoomId
The room to get events from.