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

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

Overview

Note:

When making an API call, you may pass DefaultMessage data as a hash:

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

Specifies the default message for all channels.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The default body of the message.

Returns:

  • (String)


4504
4505
4506
4507
4508
# File 'lib/aws-sdk-pinpoint/types.rb', line 4504

class DefaultMessage < Struct.new(
  :body,
  :substitutions)
  include Aws::Structure
end

#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>>)


4504
4505
4506
4507
4508
# File 'lib/aws-sdk-pinpoint/types.rb', line 4504

class DefaultMessage < Struct.new(
  :body,
  :substitutions)
  include Aws::Structure
end