Expand description
Crate containing routes for presence
Structsยง
- Presence
Component - Component that implements the matrix presence API
Enumsยง
- SetPresence
Error ๐
Constantsยง
- MAX_
PRESENCE_ ๐LEN - The maximum permitted length of a presence state
- MAX_
STATUS_ ๐LEN - The maximum length of a status
Functionsยง
- get_
presence_ ๐handler - Handler for
GET /_matrix/client/v3/presence/{userId}/status(See https://spec.matrix.org/latest/client-server-api/#get_matrixclientv3presenceuseridstatus). - set_
presence_ ๐handler - Handler for
PUT /_matrix/client/v3/presence/{userId}/status(See https://spec.matrix.org/latest/client-server-api/#put_matrixclientv3presenceuseridstatus).