class ExampleNotification extends Notification
{
public function via($notifiable)
{
return ['sipgate'];
}
public function toSipgate($notifiable)
{
return SipgateMessage::create('Your message goes here…');
}
}
public function toSipgate($notifiable)
{
return SipgateMessage::create('Your message goes here…')->recipient('00491234567890');
}
class User extends Authenticatable
{
use Notifiable;
public function routeNotificationForSipgate($notification)
{
return $this->phone_number;
}
}