use NotificationChannels\MessengerPeople\Channel;
use NotificationChannels\MessengerPeople\Message;
use Illuminate\Notifications\Notification;
class AccountApproved extends Notification
{
public function via($notifiable)
{
return [Channel::class];
}
public function toMessengerPeople($notifiable)
{
return (new Message())
->text("Your {$notifiable->service} account was approved!");
}
}
public function routeNotificationForMobtexting()
{
return '+1234567890';
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.