ChannelMessage

The details of a message in a channel.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ARN of the channel.

Link copied to clipboard

The content of the channel message. For Amazon Lex V2 bot responses, this field holds a list of messages originating from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

Link copied to clipboard

The content type of the channel message. For Amazon Lex V2 bot responses, the content type is application/amz-chime-lex-msgs for success responses and application/amz-chime-lex-error for failure responses. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

Link copied to clipboard

The time at which the message was created.

Link copied to clipboard

The time at which a message was edited.

Link copied to clipboard

The time at which a message was updated.

Link copied to clipboard

The attributes for the channel message. For Amazon Lex V2 bot responses, the attributes are mapped to specific fields from the bot. For more information, refer to Processing responses from an AppInstanceBot in the Amazon Chime SDK Messaging Developer Guide.

Link copied to clipboard

The ID of a message.

Link copied to clipboard

The message metadata.

Link copied to clipboard

The persistence setting for a channel message.

Link copied to clipboard

Hides the content of a message.

Link copied to clipboard

The message sender.

Link copied to clipboard

The status of the channel message.

Link copied to clipboard

The ID of the SubChannel.

Link copied to clipboard

The target of a message, a sender, a user, or a bot. Only the target and the sender can view targeted messages. Only users who can see targeted messages can take actions on them. However, administrators can delete targeted messages that they can’t see.

Link copied to clipboard

The message type.

Functions

Link copied to clipboard
inline fun copy(block: ChannelMessage.Builder.() -> Unit = {}): ChannelMessage
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String