You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Pinpoint::Types::VoiceMessageWhen passing VoiceMessage as input to an Aws::Client method, you can use a vanilla Hash:
{
body: "__string",
language_code: "__string",
origination_number: "__string",
substitutions: {
"__string" => ["__string"],
},
voice_id: "__string",
}
Specifies the settings for a one-time voice message that's sent directly to an endpoint through the voice channel.
Returned by:
Instance Attribute Summary collapseThe text of the script to use for the voice message.
The code for the language to use when synthesizing the text of the message script.
The long code to send the voice message from.
The default message variables to use in the voice message.
The name of the voice to use when delivering the message.
The text of the script to use for the voice message.
#language_code ⇒ StringThe code for the language to use when synthesizing the text of the message script. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.
#origination_number ⇒ StringThe long code to send the voice message from. This value should be one of the dedicated long codes that\'s assigned to your AWS account. Although it isn\'t required, we recommend that you specify the long code in E.164 format, for example +12065550100, to ensure prompt and accurate delivery of the message.
#substitutions ⇒ Hash<String,Array<String>>The default message variables to use in the voice message. You can override the default variables with individual address variables.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4