use Illuminate\Notifications\Notification;
use NotificationChannels\TurboSms\TurboSmsMessage;
use NotificationChannels\TurboSms\TurboSmsChannel;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return [TurboSmsChannel::class];
}
public function toTurboSms($notifiable)
{
return (new TurboSmsMessage())->content("Hello SMS!!!")->test(true);
}
}
public function routeNotificationForTurboSms()
{
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.