Class RoomPinnedContent

  • All Implemented Interfaces:
    EventContent

    public class RoomPinnedContent
    extends Object
    implements EventContent
    This event is used to "pin" particular events in a room for other participants to review later. The order of the pinned events is guaranteed and based upon the order supplied in the event. Clients should be aware that the current user may not be able to see some of the events pinned due to visibility settings in the room. Clients are responsible for determining if a particular event in the pinned list is displayable, and have the option to not display it if it cannot be pinned in the client.
    • Field Detail

      • pinned

        private List<String> pinned
        Required. An ordered list of event IDs to pin.
    • Constructor Detail

      • RoomPinnedContent

        public RoomPinnedContent()
    • Method Detail

      • setPinned

        public void setPinned​(List<String> pinned)