You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -82,8 +82,18 @@ public function routeNotificationForPushbullet()
82
82
}
83
83
```
84
84
85
-
#### Third option:
86
-
Although, this option is not recommended, you might just return a string (email or device id) and library will do its best to determine if it email or device id.
85
+
#### Sending notification to all subscribers of channel that has tag:
86
+
```php
87
+
public function routeNotificationForPushbullet()
88
+
{
89
+
return new \NotificationChannels\Pushbullet\Targets\Channel($this->channel_tag);
90
+
}
91
+
```
92
+
93
+
#### Fourth option (**deprecated**):
94
+
Although, this option is not recommended, you might just return a string (email or device id) and library will do its best to determine if it is email or device id.
95
+
96
+
**Warning!** This option doesn't give you possibility to have channel tag guessed, only email or device id.
0 commit comments