group_subscription: Manage group subscriptions

Description Usage Arguments Value Examples

Description

These functions manage a user's membershop 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

Arguments

cmd

The group subscription command to execute

...

Specific arguments for the given group subscription command

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
## 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 May 2, 2019, 3:28 p.m.