check_receipt: Check whether an emergency priority message was received

Description Usage Arguments Value Examples

View source: R/check_receipt.R

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 or not the emergency message was acknowledged.

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)

briandconnelly/pushoverr documentation built on Nov. 16, 2021, 7:21 p.m.