NAME

  RT::Extension::PushoverNotify::PushoverNotification - Notification record

DESCRIPTION

An RT record that keeps track of a notification we sent to a user via Pushover. Built on top of RT::Record and in turn DBIx::SearchBuilder::Record .

Methods

UserId

RT::User identifier for the user this notification was sent to, if any.

UserToken

Pushover API token the notification was sent to.

Priority

Priority the request was sent with, per pushover API.

RequestId

Request ID returned by Pushover for this notification.

ReceiptId

If acknowledgement was requested, the Pushover receipt ID for the request. Can be checked for acknowledgements later.

AcknowledgedAt

UNIX timestamp the user acknowledged the request at, or NULL if not acknowledged.

SetAcknowledgedAt

Set the acknowledgement time after doing an API request or receiving a callback. The record must be saved for this to take effect.