You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::Message

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Message as input to an Aws::Client method, you can use a vanilla Hash:

{
  content_type: "PlainText", # required, accepts PlainText, SSML
  content: "ContentString", # required
}

The message object that provides the message text and its type.

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The text of the message.

Returns:

  • (String)

    The text of the message.

#content_typeString

The content type of the message string.

Possible values:

  • PlainText
  • SSML

Returns:

  • (String)

    The content type of the message string.