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

Class: Aws::Pinpoint::Types::DefaultMessage

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

Overview

Note:

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

{
  body: "__string",
  substitutions: {
    "__string" => ["__string"],
  },
}

Specifies the default message for all channels.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The default body of the message.

Returns:

  • (String)

    The default body of the message.

#substitutionsHash<String,Array<String>>

The default message variables to use in the message. You can override these default variables with individual address variables.

Returns:

  • (Hash<String,Array<String>>)

    The default message variables to use in the message.