Documentation

TestTwilioWebhook extends Command
in package

Table of Contents

Properties

$description  : string
The console command description.
$signature  : string
The name and signature of the console command.

Methods

handle()  : int
Execute the console command.

Properties

$description

The console command description.

protected string $description = 'Simulate an incoming Twilio webhook for testing'

$signature

The name and signature of the console command.

protected string $signature = 'ai-assistant:test-webhook {phone : The phone number to simulate (e.g., +1234567890)} {message : The message body to send} {--message-sid= : Optional Twilio message SID} {--media-url=* : Media URLs to include (can be used multiple times)} {--media-type=* : Media content types (must match media-url count)} {--sync : Process synchronously instead of dispatching job}'

Methods


        
On this page

Search results