Interface ChannelMessageSummary.Builder

    • Method Detail

      • messageId

        ChannelMessageSummary.Builder messageId​(String messageId)

        The ID of the message.

        Parameters:
        messageId - The ID of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        ChannelMessageSummary.Builder content​(String content)

        The content of the message.

        Parameters:
        content - The content of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadata

        ChannelMessageSummary.Builder metadata​(String metadata)

        The metadata of the message.

        Parameters:
        metadata - The metadata of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        ChannelMessageSummary.Builder createdTimestamp​(Instant createdTimestamp)

        The time at which the message summary was created.

        Parameters:
        createdTimestamp - The time at which the message summary was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTimestamp

        ChannelMessageSummary.Builder lastUpdatedTimestamp​(Instant lastUpdatedTimestamp)

        The time at which a message was last updated.

        Parameters:
        lastUpdatedTimestamp - The time at which a message was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastEditedTimestamp

        ChannelMessageSummary.Builder lastEditedTimestamp​(Instant lastEditedTimestamp)

        The time at which a message was last edited.

        Parameters:
        lastEditedTimestamp - The time at which a message was last edited.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sender

        ChannelMessageSummary.Builder sender​(Identity sender)

        The message sender.

        Parameters:
        sender - The message sender.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • redacted

        ChannelMessageSummary.Builder redacted​(Boolean redacted)

        Indicates whether a message was redacted.

        Parameters:
        redacted - Indicates whether a message was redacted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.