pushover: Send a message using Pushover

Description Usage Arguments Value Examples

Description

pushover sends a message (push notification) to a user or group. Messages can be given different priorities, play different sounds, or require acknowledgments. The pushover_normal, pushover_silent, pushover_quiet, pushover_high, and pushover_emergency functions send messages with those priorities.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14

Arguments

message

The message to be sent (max. 1024 characters)

title

(optional) The message's title

priority

Message priority (-2: silent, -1: quiet, 0: normal (default), 1: high, 2: emergency)

user

user/group key (see set_pushover_user)

app

application token (see set_pushover_app)

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

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 pushover()

Value

an invisible list containing the following fields:

Examples

1
2
3
4
## Not run: 
pushover(message = "Hola Mundo!")

## End(Not run)

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