Creates a new instance of the same client type with extended options.
This is useful when you need to create a client with modified configuration (e.g., different endpoint, token, or headers) without affecting the original.
Note: This method creates a completely new instance rather than cloning, which is necessary because private class fields cannot be copied.
Options to merge with current options
A new instance of the same client class with extended options
Retrieves a list of event logs.
Optionalrequest: EventLogListRequestSubscribes to live event logs.
This method establishes a streaming connection to receive real-time events as they occur. The connection remains open until closed by the client. This feature requires a Pro plan or higher.
Optionalrequest: {}
Event log client for accessing event logs.
This client provides access to ChatBotKit's event logging system, which records all significant events that occur in your account. Events include conversation creation, message exchanges, bot interactions, and other platform activities. Use this client to retrieve historical events, export event data, or subscribe to live event streams for real-time monitoring.
Example
Example
Example