Class RoomTopicContent

  • All Implemented Interfaces:
    EventContent

    public class RoomTopicContent
    extends Object
    implements EventContent
    A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name. The room topic can also be set when creating a room using /createRoom with the topic key.
    • Field Detail

      • topic

        private String topic
        Required. The topic text.
    • Constructor Detail

      • RoomTopicContent

        public RoomTopicContent()
    • Method Detail

      • getTopic

        public String getTopic()
      • setTopic

        public void setTopic​(String topic)