The userId of the user.
Escape the user's localpart. Modify ~ESCAPE_DEFAULT to change the default value.
Readonly
hostThe userId of the user.
Static
ESCAPE_This is a global variable to modify the default escaping behaviour of MatrixUser.
Make a userId conform to the matrix spec using QP escaping. Grammar taken from: https://matrix.org/docs/spec/appendices.html#identifier-grammar
Generated using TypeDoc
Construct a Matrix user.