Class: Aws::ChimeSDKMessaging::Types::ChannelMessageCallback

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-chimesdkmessaging/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

Instance Attribute Details

#contentString

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.

Returns:

  • (String)


719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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_typeString

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.

Returns:

  • (String)


719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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_attributesHash<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.

Returns:



719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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_idString

The message ID.

Returns:

  • (String)


719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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

#metadataString

The message metadata.

Returns:

  • (String)


719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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_notificationTypes::PushNotificationConfiguration

The push notification configuration of the message.



719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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_idString

The ID of the SubChannel.

Returns:

  • (String)


719
720
721
722
723
724
725
726
727
728
729
# File 'gems/aws-sdk-chimesdkmessaging/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