Class: Aws::Lex::Types::GenericAttachment

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lex/types.rb

Overview

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

The URL of an attachment to the response card.

Returns:

  • (String)


316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-lex/types.rb', line 316

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  SENSITIVE = []
  include Aws::Structure
end

#buttonsArray<Types::Button>

The list of options to show to the user.

Returns:



316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-lex/types.rb', line 316

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  SENSITIVE = []
  include Aws::Structure
end

#image_urlString

The URL of an image that is displayed to the user.

Returns:

  • (String)


316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-lex/types.rb', line 316

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  SENSITIVE = []
  include Aws::Structure
end

#sub_titleString

The subtitle shown below the title.

Returns:

  • (String)


316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-lex/types.rb', line 316

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  SENSITIVE = []
  include Aws::Structure
end

#titleString

The title of the option.

Returns:

  • (String)


316
317
318
319
320
321
322
323
324
# File 'lib/aws-sdk-lex/types.rb', line 316

class GenericAttachment < Struct.new(
  :title,
  :sub_title,
  :attachment_link_url,
  :image_url,
  :buttons)
  SENSITIVE = []
  include Aws::Structure
end