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
Report client for generating analytics reports.
This client provides access to ChatBotKit's reporting system, which offers various types of reports for analyzing conversations, usage, performance metrics, and other platform data. Reports are identified by unique report IDs, which can be discovered using the platform.report.list() method. Each report may have different input parameters and output formats depending on the specific analytics it provides.
Example
Example