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.

Inheritance Hierarchy

System.Object
  Amazon.Pinpoint.Model.Message

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

Syntax

C#
public class Message

The Message type exposes the following members

Constructors

NameDescription
Public Method Message()

Properties

NameTypeDescription
Public Property Action Amazon.Pinpoint.Action

Gets and sets the property Action. The action that occurs if the user taps a push notification delivered by the campaign:OPEN_APP - Your app launches, or it becomes the foreground app if it has been sent to the background. This is the default action.DEEP_LINK - Uses deep linking features in iOS and Android to open your app and display a designated user interface within the app.URL - The default mobile browser on the user's device launches and opens a web page at the URL you specify.

Public Property Body System.String

Gets and sets the property Body. The message body. Can include up to 140 characters.

Public Property ImageIconUrl System.String

Gets and sets the property ImageIconUrl. The URL that points to the icon image for the push notification icon, for example, the app icon.

Public Property ImageSmallIconUrl System.String

Gets and sets the property ImageSmallIconUrl. The URL that points to the small icon image for the push notification icon, for example, the app icon.

Public Property ImageUrl System.String

Gets and sets the property ImageUrl. The URL that points to an image used in the push notification.

Public Property JsonBody System.String

Gets and sets the property JsonBody. The JSON payload used for a silent push.

Public Property MediaUrl System.String

Gets and sets the property MediaUrl. The URL that points to the media resource, for example a .mp4 or .gif file.

Public Property RawContent System.String

Gets and sets the property RawContent. The Raw JSON formatted string to be used as the payload. This value overrides the message.

Public Property SilentPush System.Boolean

Gets and sets the property SilentPush. Indicates if the message should display on the users device.Silent pushes can be used for Remote Configuration and Phone Home use cases.

Public Property Title System.String

Gets and sets the property Title. The message title that displays above the message on the user's device.

Public Property Url System.String

Gets and sets the property Url. The URL to open in the user's mobile browser. Used if the value for Action is URL.

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