Skip to main content

Module presence

Module presence 

Source
Expand description

Crate containing routes for presence

Structsยง

PresenceComponent
Component that implements the matrix presence API

Enumsยง

SetPresenceError ๐Ÿ”’

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).