Class: Aws::ChimeSDKMessaging::Types::ChannelMessageCallback
- Inherits:
-
Struct
- Object
- Struct
- Aws::ChimeSDKMessaging::Types::ChannelMessageCallback
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-chimesdkmessaging/types.rb
Overview
Stores information about a callback.
Constant Summary collapse
- SENSITIVE =
[:content, :metadata, :message_attributes, :content_type]
Instance Attribute Summary collapse
-
#content ⇒ String
The message content.
-
#content_type ⇒ String
The content type of the call-back message.
-
#message_attributes ⇒ Hash<String,Types::MessageAttributeValue>
The attributes for the channel message.
-
#message_id ⇒ String
The message ID.
-
#metadata ⇒ String
The message metadata.
-
#push_notification ⇒ Types::PushNotificationConfiguration
The push notification configuration of the message.
-
#sub_channel_id ⇒ String
The ID of the SubChannel.
Instance Attribute Details
#content ⇒ String
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*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#content_type ⇒ String
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*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#message_attributes ⇒ Hash<String,Types::MessageAttributeValue>
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*.
[1]: docs.aws.amazon.com/chime-sdk/latest/dg/appinstance-bots#process-response.html
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#message_id ⇒ String
The message ID.
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#metadata ⇒ String
The message metadata.
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#push_notification ⇒ Types::PushNotificationConfiguration
The push notification configuration of the message.
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |
#sub_channel_id ⇒ String
The ID of the SubChannel.
719 720 721 722 723 724 725 726 727 728 729 |
# File 'lib/aws-sdk-chimesdkmessaging/types.rb', line 719 class ChannelMessageCallback < Struct.new( :message_id, :content, :metadata, :push_notification, :message_attributes, :sub_channel_id, :content_type) SENSITIVE = [:content, :metadata, :message_attributes, :content_type] include Aws::Structure end |