Class: Aws::LexModelsV2::Types::ImageResponseCard
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::ImageResponseCard
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lexmodelsv2/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Types::Button>
A list of buttons that should be displayed on the response card.
-
#image_url ⇒ String
The URL of an image to display on the response card.
-
#subtitle ⇒ String
The subtitle to display on the response card.
-
#title ⇒ String
The title to display on the response card.
Instance Attribute Details
#buttons ⇒ Array<Types::Button>
A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.
7910 7911 7912 7913 7914 7915 7916 7917 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7910 class ImageResponseCard < Struct.new( :title, :subtitle, :image_url, :buttons) SENSITIVE = [] include Aws::Structure end |
#image_url ⇒ String
The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
7910 7911 7912 7913 7914 7915 7916 7917 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7910 class ImageResponseCard < Struct.new( :title, :subtitle, :image_url, :buttons) SENSITIVE = [] include Aws::Structure end |
#subtitle ⇒ String
The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
7910 7911 7912 7913 7914 7915 7916 7917 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7910 class ImageResponseCard < Struct.new( :title, :subtitle, :image_url, :buttons) SENSITIVE = [] include Aws::Structure end |
#title ⇒ String
The title to display on the response card. The format of the title is determined by the platform displaying the response card.
7910 7911 7912 7913 7914 7915 7916 7917 |
# File 'lib/aws-sdk-lexmodelsv2/types.rb', line 7910 class ImageResponseCard < Struct.new( :title, :subtitle, :image_url, :buttons) SENSITIVE = [] include Aws::Structure end |