Skip to main content

Module check

Module check 

Source

Functionsยง

check_room_id
check_rules
Check that the given canonicalized PDU respects the event format of the room version and the size limits from the Matrix specification.
extract_optional_string_field ๐Ÿ”’
Extract the optional string field with the given name from the given canonical JSON object.
extract_required_array_field ๐Ÿ”’
Extract the required array field with the given name from the given canonical JSON object.
extract_required_string_field ๐Ÿ”’
Extract the required string field with the given name from the given canonical JSON object.