AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

SMS Message.

Inheritance Hierarchy


Namespace: Amazon.Pinpoint.Model
Assembly: AWSSDK.Pinpoint.dll
Version: 3.x.y.z


public class SMSMessage

The SMSMessage type exposes the following members


Public Method SMSMessage()


Public Property Body System.String

Gets and sets the property Body. The message body of the notification, the email body or the text message.

Public Property MessageType Amazon.Pinpoint.MessageType

Gets and sets the property MessageType. Is this a transaction priority message or lower priority.

Public Property OriginationNumber System.String

Gets and sets the property OriginationNumber. The phone number that the SMS message originates from. Specify one of the dedicated long codes or short codes that you requested from AWS Support and that is assigned to your account. If this attribute is not specified, Amazon Pinpoint randomly assigns a long code.

Public Property SenderId System.String

Gets and sets the property SenderId. The sender ID that is shown as the message sender on the recipient's device. Support for sender IDs varies by country or region.

Public Property Substitutions System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>

Gets and sets the property Substitutions. Default message substitutions. Can be overridden by individual address substitutions.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms