Interface SNSPublishParams

Options to publish a message on a SNS endpoint.

interface SNSPublishParams {
    endpoint: string;
    json?: any;
    message?: string;
    platform?: PushNotificationsPlatforms;
}

Properties

endpoint: string

The endpoint of the notification.

json?: any

If set, message and platform will be ignored and the content of this attribute will be preferred.

message?: string

The message to send.

platform?: PushNotificationsPlatforms

The platform receiver; used to structure the message.