Class: Aws::LexRuntimeV2::Types::Message

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb

Overview

Container for text that is returned to the customer..

Constant Summary collapse

SENSITIVE =
[:content]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The text of the message.

Returns:

  • (String)


816
817
818
819
820
821
822
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 816

class Message < Struct.new(
  :content,
  :content_type,
  :image_response_card)
  SENSITIVE = [:content]
  include Aws::Structure
end

#content_typeString

Indicates the type of response.

Returns:

  • (String)


816
817
818
819
820
821
822
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 816

class Message < Struct.new(
  :content,
  :content_type,
  :image_response_card)
  SENSITIVE = [:content]
  include Aws::Structure
end

#image_response_cardTypes::ImageResponseCard

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

When you use a response card, the response from the user is constrained to the text associated with a button on the card.



816
817
818
819
820
821
822
# File 'gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/types.rb', line 816

class Message < Struct.new(
  :content,
  :content_type,
  :image_response_card)
  SENSITIVE = [:content]
  include Aws::Structure
end