Session Config Data DTO Reference
The NjoguAmos\Waha\Dto\SessionConfigData contains session configuration.
proxy → SessionProxyData or null
Proxy server configuration.
php
$session->config->proxy?->server; // "http://proxy.example.com:8080"webhooks → array
An array of SessionWebhookData objects.
php
foreach ($session->config->webhooks as $webhook) {
$webhook->url; // "https://example.com/webhook"
}debug → bool
Whether debug mode is enabled.
php
$session->config->debug; // falsenoweb → SessionConfigNowebData or null
Configuration specifically for the NOWEB engine.
webjs → SessionConfigWebjsData or null
Configuration specifically for the WEBJS engine.
client → SessionConfigClientData or null
Configuration for the WhatsApp client (device and browser name).
metadata → array
An associative array of additional metadata information.
php
$session->config->metadata['user.id']; // "123"ignore → SessionConfigIgnoreData or null
Configuration for ignoring certain types of events.
gows → SessionConfigGowsData or null
Configuration specifically for the GOWS engine.