Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Notifications;
|
||||
|
||||
use App\Models\Recording;
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Notifications\Notification;
|
||||
|
||||
class RecordingReadyNotification extends Notification
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
public function __construct(
|
||||
public Recording $recording,
|
||||
) {}
|
||||
|
||||
public function via(object $notifiable): array
|
||||
{
|
||||
return ['database'];
|
||||
}
|
||||
|
||||
public function toArray(object $notifiable): array
|
||||
{
|
||||
return [
|
||||
'type' => 'recording_ready',
|
||||
'title' => 'Recording ready',
|
||||
'body' => 'Recording for '.$this->recording->session->room->title.' is ready.',
|
||||
'url' => route('meet.recordings.show', $this->recording),
|
||||
'recording_uuid' => $this->recording->uuid,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user