Laravel - Notifications - Customizing The Notification Type

In addition to the data you specify, all broadcast notifications also have a type field containing the full class name of the notification. If you would like to customize the notification type, you may define a broadcastType method on the notification class:

    use Illuminate\Notifications\Messages\BroadcastMessage;
     * Get the type of the notification being broadcast.
     * @return string
    public function broadcastType()
        return 'broadcast.message';