check_receipt: Check whether an emergency priority message was received

Description Usage Arguments Value Examples

Description

check_receipt checks the status of an emergency priority message, receiving information about whether and by whom it was acknowledged, when the message was last delivered, whether a callback URL was visited, and more.

is.acknowledged returns a logical value indicating whether the emergency message was acknowledged (TRUE) or not (FALSE).

Usage

1
2
3
check_receipt(receipt, app = get_pushover_app())

is.acknowledged(receipt, app = get_pushover_app())

Arguments

receipt

receipt ID from sending an emergency message

app

application token (see set_pushover_app)

Value

a list containing the following fields:

Examples

1
2
3
4
5
6
## Not run: 
msg1 <- pushover_emergency(message = "Test emergency message")
check_recepit(receipt = msg1$receipt)
is.acknowledged(receipt = msg1$receipt)

## End(Not run)

pushoverr documentation built on May 2, 2019, 3:28 p.m.