'Hello from Laravel!', 'body' => 'Thank you for using our application.', 'action_url' => 'https://laravel.com', 'created' => Carbon::now()->toIso8601String() ]; } public function toWebPush($notifiable, $notification) { return (new WebPushMessage) ->title('Hello from Laravel!') ->icon('/notification-icon.png') ->body('Thank you for using our application.') ->action('View app', 'view_app') ->data(['id' => $notification->id]); } public function toDatabase($notifiable) { return new BroadcastMessage([ 'title' => 'Hello from Laravel!', 'body' => 'Thank you for using our application.' ]); } public function toBroadcast($notifiable) { return new BroadcastMessage([ 'title' => 'Hello from Laravel!', 'body' => 'Thank you for using our application.' ]); } }