mirror of
https://github.com/nikoksr/notify.git
synced 2024-11-24 08:22:18 +02:00
Update pushbullet.go
This commit is contained in:
parent
3ba5639feb
commit
1cbd539b24
@ -25,9 +25,9 @@ func New(apiToken string) *Pushbullet {
|
|||||||
return pb
|
return pb
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddReceivers takes Pushbulletdevice nicknames and adds them to the internal deviceNicknames list. The Send method will send
|
// AddReceivers takes Pushbullet device nicknames and adds them to the internal deviceNicknames list.
|
||||||
// a given message to all those devices a matching one be registered.
|
// The Send method will send a given message to all those devices a matching one be registered.
|
||||||
// We only add registered devices
|
// We only add registered devices.
|
||||||
func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
|
func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
|
||||||
|
|
||||||
devices := []string{}
|
devices := []string{}
|
||||||
|
Loading…
Reference in New Issue
Block a user