Method: MatrixSdk::User#id

Defined in:
lib/matrix_sdk/user.rb

#idString (readonly) Also known as: user_id

Returns the MXID of the user.

Returns:

  • (String)

    the MXID of the user



14
15
16
# File 'lib/matrix_sdk/user.rb', line 14

def id
  @id
end