Interface ApplePushObject

interface ApplePushObject {
    alert?: string | ApplePushAlertObject;
    asset_file_type?:
        | "aif"
        | "gif"
        | "jpg"
        | "m4a"
        | "mp3"
        | "mp4"
        | "png"
        | "wav";
    asset_url?: string;
    badge?: number;
    buttons?: ApplePushActionButtonObject[];
    category?: string;
    collapse_id?: string;
    "content-available"?: boolean;
    custom_uri?: string;
    expiry?: string;
    extra?: Record<string, string>;
    interruption_level?: "passive" | "active" | "time-sensitive" | "critical";
    message_variation_id?: string;
    mutable_content?: boolean;
    notification_group_thread_id?: string;
    relevance_score?: number;
    send_to_most_recent_device_only?: boolean;
    sound?: string;
}

Properties

alert?: string | ApplePushAlertObject
asset_file_type?: "aif" | "gif" | "jpg" | "m4a" | "mp3" | "mp4" | "png" | "wav"
asset_url?: string
badge?: number
category?: string
collapse_id?: string
"content-available"?: boolean
custom_uri?: string
expiry?: string
extra?: Record<string, string>
interruption_level?: "passive" | "active" | "time-sensitive" | "critical"
message_variation_id?: string
mutable_content?: boolean
notification_group_thread_id?: string
relevance_score?: number
send_to_most_recent_device_only?: boolean
sound?: string