Interface PushoverReceiptResponse

Represents the response received when checking the status of an emergency message receipt.

interface PushoverReceiptResponse {
    acknowledged: boolean;
    acknowledged_at: number;
    acknowledged_by: string;
    acknowledged_by_device: string;
    called_back: boolean;
    called_back_at: number;
    errors?: string[];
    expired: boolean;
    expired_at: number;
    last_delivered_at: number;
    request: string;
    status: 0 | 1;
}

Hierarchy

  • PushoverResponse
    • PushoverReceiptResponse

Properties

acknowledged: boolean

true if the emergency notification has been acknowledged by the user, false otherwise.

acknowledged_at: number

A Unix timestamp indicating when the notification was acknowledged. 0 if not acknowledged.

acknowledged_by: string

The user key of the user who first acknowledged the notification. Empty if not acknowledged.

acknowledged_by_device: string

The name of the device that first acknowledged the notification. Empty if not acknowledged.

called_back: boolean

true if the optional callback URL was successfully contacted, false otherwise.

called_back_at: number

A Unix timestamp indicating when the callback URL was contacted. 0 if not called back.

errors?: string[]

An array of error messages if the request failed (status is 0).

expired: boolean

true if the notification has expired without acknowledgement, false otherwise.

expired_at: number

A Unix timestamp indicating when the notification expired. 0 if not expired.

last_delivered_at: number

A Unix timestamp indicating the last time the notification was delivered (due to retries). 0 if not delivered.

request: string

A unique identifier for the API request, generated by Pushover.

status: 0 | 1

Indicates the status of the request. 1 for success, 0 for failure.