ChannelMessage
¶
Source code in docs_src/capo_chime_sdk_messaging/types/channel_message.py
content
instance-attribute
¶
content: NotRequired[Content]
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.
content_type
instance-attribute
¶
content_type: NotRequired[ContentType]
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.
created_timestamp
instance-attribute
¶
created_timestamp: NotRequired[Timestamp]
The time at which the message was created.
last_edited_timestamp
instance-attribute
¶
last_edited_timestamp: NotRequired[Timestamp]
The time at which a message was edited.
last_updated_timestamp
instance-attribute
¶
last_updated_timestamp: NotRequired[Timestamp]
The time at which a message was updated.
message_attributes
instance-attribute
¶
message_attributes: NotRequired[MessageAttributeMap]
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.
persistence
instance-attribute
¶
persistence: NotRequired[ChannelMessagePersistenceType]
The persistence setting for a channel message.
status
instance-attribute
¶
status: NotRequired[ChannelMessageStatusStructure]
The status of the channel message.
sub_channel_id
instance-attribute
¶
sub_channel_id: NotRequired[SubChannelId]
The ID of the SubChannel.
target
instance-attribute
¶
target: NotRequired[TargetList]
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.