Class ChannelMessageSummary

    • Method Detail

      • messageId

        public final String messageId()

        The ID of the message.

        Returns:
        The ID of the message.
      • content

        public final String content()

        The content of the message.

        Returns:
        The content of the message.
      • metadata

        public final String metadata()

        The metadata of the message.

        Returns:
        The metadata of the message.
      • createdTimestamp

        public final Instant createdTimestamp()

        The time at which the message summary was created.

        Returns:
        The time at which the message summary was created.
      • lastUpdatedTimestamp

        public final Instant lastUpdatedTimestamp()

        The time at which a message was last updated.

        Returns:
        The time at which a message was last updated.
      • lastEditedTimestamp

        public final Instant lastEditedTimestamp()

        The time at which a message was last edited.

        Returns:
        The time at which a message was last edited.
      • sender

        public final Identity sender()

        The message sender.

        Returns:
        The message sender.
      • redacted

        public final Boolean redacted()

        Indicates whether a message was redacted.

        Returns:
        Indicates whether a message was redacted.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)