ChannelMessageCallback
¶
Used by
-
AsyncChimeSDKMessagingClient Operationschannel_flow_callback -
ChimeSDKMessagingClient Operationschannel_flow_callback
Source code in docs_src/capo_chime_sdk_messaging/types/channel_message_callback.py
content
instance-attribute
¶
content: NotRequired[NonEmptyContent]
The message content. 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 call-back 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.
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.
push_notification
instance-attribute
¶
push_notification: NotRequired[PushNotificationConfiguration]
The push notification configuration of the message.
sub_channel_id
instance-attribute
¶
sub_channel_id: NotRequired[SubChannelId]
The ID of the SubChannel.