Set MessageStructure to json if you want to send a different message for each protocol. For example, using one publish action,
you can send a short message to your SMS subscribers and a longer message to your email subscribers. If you set MessageStructure to
json , the value of the Message parameter must: json
- be a syntactically valid JSON object; and
- contain at least a top-level JSON key of "default" with a value that is a string.
Namespace: Amazon.SimpleNotificationService.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public String MessageStructure { get; set; }
Property Value
Type: System.String
Type: System.String
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8