Parse/validate and create a new UserId
.
Returns the user's localpart.
Returns the server name of the user ID.
Create a clone of this UserId
.
This can be useful when passing a UserId
instance to methods such as
OlmMachine.updateTrackedUsers which destroy the instance.
Whether this user ID is a historical one.
A historical user ID is one that doesn't conform to the latest specification of the user ID grammar but is still accepted because it was previously allowed.
Return the user ID as a string.
Generated using TypeDoc
A Matrix [user ID].