subject("Last Hour: Test Email"); $mail->view('emails.test'); return $mail; } public function toDiscord(): string { $message = 'Last Hour: This is a test Discord notification from Last Hour.'; $message .= "\n\n"; $message .= '[Go to your dashboard](' . base_url() . ')'; return $message; } public function toTelegram(): array { return [ "message" => 'Last Hour: This is a test Telegram notification from Last Hour.', "buttons" => [ [ "text" => "Go to your dashboard", "url" => base_url() ] ], ]; } }