Module matrix

Source
Expand description

Collection of methods related to the Matrix specification.

Modulesยง

ext_traits ๐Ÿ”’
Extension traits for Matrix types.
media_message ๐Ÿ”’

Structsยง

MatrixEventIdUri ๐Ÿ”’
A URI for a Matrix event ID.
MatrixRoomIdUri ๐Ÿ”’
A URI for a Matrix room ID.
PasswordValidity ๐Ÿ”’
The result of a password validation.

Enumsยง

AnySyncOrStrippedTimelineEvent ๐Ÿ”’
An deserialized event received in a sync response.
ClientSetupError ๐Ÿ”’
All errors that can occur when setting up the Matrix client.
MatrixIdUri ๐Ÿ”’
A URI for a Matrix ID.
MatrixIdUriParseError ๐Ÿ”’
Errors encountered when parsing a Matrix ID URI.

Constantsยง

AT_ROOM ๐Ÿ”’
The textual representation of a room mention.

Functionsยง

append_children_mentions ๐Ÿ”’
Find mentions in the given child nodes and append them to the given list.
char_is_ascii_word_boundary ๐Ÿ”’
Whether the given char is a word boundary, according to the Matrix spec.
client_with_stored_session ๐Ÿ”’
Create a Client with the given stored session.
find_at_room ๐Ÿ”’
Find @room in the given string.
find_html_mentions ๐Ÿ”’
Find mentions in the given HTML string.
node_as_mention ๐Ÿ”’
Try to convert the given node to a mention.
raw_eq ๐Ÿ”’
Compare two raw JSON sources.
seconds_since_unix_epoch_to_date ๐Ÿ”’
Convert the given number of seconds since Unix EPOCH to a GDateTime.
timestamp_to_date ๐Ÿ”’
Convert the given timestamp to a GDateTime.
validate_password ๐Ÿ”’
Validate a password according to the Matrix specification.