function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Philippe UyttendaelePhilippe Uyttendaele 

sendCustomEvent APEX

Hello,
I would like to create an @Invocable APEX method that allows sending custom Event to visitor chat.

there exist an API, but this is javascript and not apex functions
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_sendCustomEvent.htm

anyone knows what are the available commands for that ?
{tushar-sharma}{tushar-sharma}
This is a JS library, so you can't use it in APEX. AFAIK there is no option available to get these details in Apex.

If this answer helps you, please mark it as accepted.