The ConfTWPPConnect.ini file is used for component persistence. It must reside in the same folder as your executable. On the first installation, manually copy the seed file from Demo\BIN\ConfTWPPConnect.ini to your output folder. The component will automatically read, complete, and rewrite keys during execution.
[Path Defines] Section
Use this section to configure CEF4Delphi paths and flags. If left blank, the component uses default paths relative to the executable.
| Key | Type | Description |
|---|
FrameWork | string | Path to CEF4Delphi framework |
Binary | string | Path to CEF binaries |
Locales | string | Path to CEF locales |
Cache | string | Path to Chromium cache |
Data User | string | Path to user profile |
Log File | string | Path to log file |
Log Console | string | Path to JS console log (defaults to <exe_folder>\LogTWppConnect\) |
GPU | bool | Enable Chromium GPU acceleration (default: True) |
Log Severity | bool | Verbose CEF logging (default: False) |
Log Console Active | bool | Enable/disable JS console logging (default: False) |
Auto Receiver attached | bool | Mirrors TWPPConnectConfig.ReceiveAttachmentAuto |
Auto Receiver attached Path | string | Mirrors TWPPConnectConfig.ReceiveAttachmentPath |
[Config] Section
Use this section to enable or disable specific asynchronous events from WA-JS to reduce JS↔Delphi traffic. Set to 1 to enable, or leave blank to use the component's internal default. Setting it to 0 explicitly disables the event.
| Key | Description |
|---|
Evento_msg_ack_change | Message acknowledgement change |
Evento_msg_revoke | Message revocation |
Evento_new_message | New message received |
Evento_new_reaction | New reaction |
Evento_active_chat | Active chat change |
Evento_update_label | Label update |
Evento_presence_change | Presence change |
Evento_group_participant_changed | Group participant change |
Evento_live_location_start | Live location start |
Evento_order_payment_status | Order payment status |
SecondsMonitor | Polling interval in seconds (blank uses default) |
SecondsMonitorNew | Polling interval in seconds (blank uses default) |