Send Voice Message
| pinpointsmsvoice_send_voice_message | R Documentation |
Create a new voice message and send it to a recipient's phone number¶
Description¶
Create a new voice message and send it to a recipient's phone number.
Usage¶
pinpointsmsvoice_send_voice_message(CallerId, ConfigurationSetName,
Content, DestinationPhoneNumber, OriginationPhoneNumber)
Arguments¶
CallerIdThe phone number that appears on recipients' devices when they receive the message.
ConfigurationSetNameThe name of the configuration set that you want to use to send the message.
ContentDestinationPhoneNumberThe phone number that you want to send the voice message to.
OriginationPhoneNumberThe phone number that Amazon Pinpoint should use to send the voice message. This isn't necessarily the phone number that appears on recipients' devices when they receive the message, because you can specify a CallerId parameter in the request.
Value¶
A list with the following syntax:
Request syntax¶
svc$send_voice_message(
CallerId = "string",
ConfigurationSetName = "string",
Content = list(
CallInstructionsMessage = list(
Text = "string"
),
PlainTextMessage = list(
LanguageCode = "string",
Text = "string",
VoiceId = "string"
),
SSMLMessage = list(
LanguageCode = "string",
Text = "string",
VoiceId = "string"
)
),
DestinationPhoneNumber = "string",
OriginationPhoneNumber = "string"
)