Method: MatrixSdk::Room#name

Defined in:
lib/matrix_sdk/room.rb,
lib/matrix_sdk/room.rb

#nameString?

Note:

Will cache the current name for 15 minutes

Gets the current name of the room, querying the API if necessary

Returns:

  • (String, nil)

    The room name - if any



43
# File 'lib/matrix_sdk/room.rb', line 43

attr_reader :id, :client, :topic, :aliases, :members, :events