use Illuminate\Notifications\Notification;
use NotificationChannels\Sendberry\SendberryMessage;
use NotificationChannels\Sendberry\SendberryChannel;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return [SendberryChannel::class];
}
public function toSendberry($notifiable)
{
return (new SendberryMessage())->content("Hello SMS!!!")->test(true);
}
}
public function routeNotificationForSendberry()
{
return $this->phone;
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.