1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-01-24 03:16:35 +02:00

Merge branch 'feature/PushBullet' of https://github.com/KrishanBhalla/notify into feature/PushBullet

This commit is contained in:
KrishanBhalla 2021-02-01 13:47:37 +00:00
commit c360edb796

View File

@ -25,9 +25,9 @@ func New(apiToken string) *Pushbullet {
return pb
}
// AddReceivers takes Pushbulletdevice nicknames and adds them to the internal deviceNicknames list. The Send method will send
// a given message to all those devices a matching one be registered.
// We only add registered devices
// AddReceivers takes Pushbullet device nicknames and adds them to the internal deviceNicknames list.
// The Send method will send a given message to all those devices a matching one be registered.
// We only add registered devices.
func (pb *Pushbullet) AddReceivers(deviceNicknames ...string) {
devices := []string{}