use Illuminate\Notifications\Notification;
use NotificationChannels\SmsRu\SmsRuMessage;
use NotificationChannels\SmsRu\SmsRuChannel;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return [SmsRuChannel::class];
}
public function toSmsru($notifiable)
{
return (new SmsRuMessage())->content("Hello SMS!!!")->test(true)->translit(false);
}
}
public function routeNotificationForSmsru()
{
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.