php
use Illuminate\Notifications\Notification;
use NotificationChannels\Hellio\HellioChannel;
use NotificationChannels\Hellio\HellioMessage;
class WelcomeSMS extends Notification
{
public function via($notifiable)
{
return [HellioChannel::class];
}
public function toHellioSMS($notifiable)
{
return (new HellioMessage)
->from("HellioSMS")
->to("233242813656") //Add the country code to the number you wish to send to without the need to add the +
->content("Welcome to Hellio Messaging, a new world of litmitless possibilities.")
->messageType(0); //0 = text, 1 = flash
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.