Description Usage Arguments Value Examples
pushover()
sends a message (push notification) to a user or group.
Messages can be given different priorities, play different sounds, or require
acknowledgments.
pushover_normal()
, pushover_silent
, pushover_quiet
, pushover_high
,
and pushover_emergency
functions send messages with those priorities.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | pushover(
message,
title = NULL,
priority = 0,
attachment = NULL,
user = get_pushover_user(),
app = get_pushover_app(),
device = NULL,
sound = NULL,
url = NULL,
url_title = NULL,
format = c("html", "monospace"),
retry = 60,
expire = 3600,
callback = NULL,
timestamp = NULL
)
pushover_silent(message, ...)
pushover_quiet(message, ...)
pushover_normal(message, ...)
pushover_high(message, ...)
pushover_emergency(message, ...)
|
message |
The message to be sent (max. 1024 characters). Messages use
|
title |
(optional) The message's title. Titles use |
priority |
Message priority ( |
attachment |
Path of file attachment to include. File must be image format (bmp, jpg, png, tif) and no larger than 2.6 MB. |
user |
user/group key (see |
app |
application token (see |
device |
(optional) name of the device(s) to send message to. Defaults to all devices. |
sound |
(optional) name of the sound to play (see https://pushover.net/api#sounds) |
url |
(optional) supplementary URL to display with message |
url_title |
(optional) title to show for supplementary URL |
format |
Message formatting. If |
retry |
(optional) how often (in seconds) to repeat emergency priority messages (min: 30 seconds; default: 60 seconds) |
expire |
(optional) how long (in seconds) emergency priority messages will be retried (max: 86400 seconds; default: 3600 seconds) |
callback |
(optional) callback URL to be visited (HTTP POST) once an emergency priority message has been acknowledged (details) |
timestamp |
(optional) a Unix timestamp containing the date and time to display to the user instead of the time at which the message was received |
... |
Additional arguments to pass to |
an invisible list containing the following fields:
status
: request status (1 = success)
request
: unique request ID
raw
: the raw httr::response object
receipt
: a receipt ID (only for emergency priority messages)
errors
: a list of error messages (only for unsuccessful requests)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.