Description Usage Arguments Value Examples
View source: R/group_subscription.R
These functions manage a user's membership in a Pushover delivery group
group_add_user()
adds a user to a group. Optionally, a
device can be specified on which that user will receive notifications
group_delete_user()
removes a user from a group
group_disable_user()
temporarily disables a user from
receiving group notifications.
group_enable_user()
re-enables a user to receive group
notifications for a group
1 2 3 4 5 6 7 8 9 10 11 12 13 | group_add_user(
group,
user,
app = get_pushover_app(),
device = NULL,
memo = NULL
)
group_delete_user(group, user, app = get_pushover_app())
group_disable_user(group, user, app = get_pushover_app())
group_enable_user(group, user, app = get_pushover_app())
|
group |
group key |
user |
user key |
app |
application token (see |
device |
(optional) device name to receive messages (defaults to all devices) |
memo |
(optional) memo about the user |
An invisible list containing the following fields:
status
: request status (1 = success)
request
: unique request ID
raw
: the raw httr::response object
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 28 29 | ## Not run:
group_add_user(
group = "gznej3rKEVAvPUxu9vvNnqpmZpokzF",
user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG",
device = "phone"
)
## End(Not run)
## Not run:
group_delete_user(
group = "gznej3rKEVAvPUxu9vvNnqpmZpokzF",
user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG"
)
## End(Not run)
## Not run:
group_disable_user(
group = "gznej3rKEVAvPUxu9vvNnqpmZpokzF",
user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG"
)
## End(Not run)
## Not run:
group_enable_user(
group = "gznej3rKEVAvPUxu9vvNnqpmZpokzF",
user = "uQiRzpo4DXghDmr9QzzfQu27cmVRsG"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.