A Matrix user ID.
Parse/validate and create a new UserId.
UserId
Returns the user's localpart.
Returns the server name of the user ID.
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.
A Matrix user ID.