cancel_retries() stops Pushover from sending repeat messages for un-acknowledged emergency priority notifications.

cancel_retries(receipt, app = get_pushover_app())

Arguments

receipt

The receipt from sending an emergency message

app

application token (see set_pushover_app())

Value

an invisible list containing the following fields:

  • status: request status (1 = success)

  • request: unique request ID

  • errors: a list of error messages (only for unsuccessful requests)

  • raw: the raw httr::response object

Examples

if (FALSE) {
msg1 <- pushover_emergency(message = "Test emergency message")
cancel_retries(receipt = msg1$receipt)
}