group_subscription: Manage group subscriptions

Description Usage Arguments Value Examples

View source: R/group_subscription.R

Description

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

Usage

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

Arguments

group

group key

user

user key

app

application token (see set_pushover_app())

device

(optional) device name to receive messages (defaults to all devices)

memo

(optional) memo about the user

Value

An invisible list containing the following fields:

Examples

 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)

pushoverr documentation built on Nov. 16, 2021, 9:17 a.m.