public static interface ChannelMessageSummary.Builder extends SdkPojo, CopyableBuilder<ChannelMessageSummary.Builder,ChannelMessageSummary>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannelMessageSummary.Builder messageId(String messageId)
The ID of the message.
messageId - The ID of the message.ChannelMessageSummary.Builder content(String content)
The content of the message.
content - The content of the message.ChannelMessageSummary.Builder metadata(String metadata)
The metadata of the message.
metadata - The metadata of the message.ChannelMessageSummary.Builder type(String type)
The type of message.
type - The type of message.ChannelMessageType,
ChannelMessageTypeChannelMessageSummary.Builder type(ChannelMessageType type)
The type of message.
type - The type of message.ChannelMessageType,
ChannelMessageTypeChannelMessageSummary.Builder createdTimestamp(Instant createdTimestamp)
The time at which the message summary was created.
createdTimestamp - The time at which the message summary was created.ChannelMessageSummary.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which a message was last updated.
lastUpdatedTimestamp - The time at which a message was last updated.ChannelMessageSummary.Builder lastEditedTimestamp(Instant lastEditedTimestamp)
The time at which a message was last edited.
lastEditedTimestamp - The time at which a message was last edited.ChannelMessageSummary.Builder sender(Identity sender)
The message sender.
sender - The message sender.default ChannelMessageSummary.Builder sender(Consumer<Identity.Builder> sender)
The message sender.
This is a convenience method that creates an instance of theIdentity.Builder avoiding the need to
create one manually via Identity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sender(Identity).
sender - a consumer that will call methods on Identity.Buildersender(Identity)ChannelMessageSummary.Builder redacted(Boolean redacted)
Indicates whether a message was redacted.
redacted - Indicates whether a message was redacted.Copyright © 2023. All rights reserved.