Type Alias PushoverMessage

PushoverMessage: {
    appToken?: string;
    attachment?: { data?: string | File; type?: string };
    html?: boolean;
    message?: string;
    priority?: {
        callback?: string;
        expire?: number;
        level?: number;
        retry?: number;
    };
    sound?: string;
    timestamp?: Date;
    title?: string;
    url?: { title?: string; url?: string };
    users?: { devices?: string[]; name?: string; token?: string }[];
}

Type declaration

  • OptionalappToken?: string
  • Optionalattachment?: { data?: string | File; type?: string }
  • Optionalhtml?: boolean
  • Optionalmessage?: string

    The message to send.

  • Optionalpriority?: { callback?: string; expire?: number; level?: number; retry?: number }
  • Optionalsound?: string
  • Optionaltimestamp?: Date
  • Optionaltitle?: string

    The title of the message.

  • Optionalurl?: { title?: string; url?: string }

    The URL to open when the notification is clicked.

    • Optionaltitle?: string

      The title of the URL to be displayed.

    • Optionalurl?: string

      The URL itself.

  • Optionalusers?: { devices?: string[]; name?: string; token?: string }[]