Option
CometChatOption is a pre-defined structure for creating an option that can be used to perform an action message such as edit, delete etc.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Name | Description |
|---|---|
| id | Unique identifier for each option |
| title | Heading text for each option |
| titleFont | Sets all the different properties of font for the option text. Reference link |
| titleColor | Sets the foreground color of option text |
| iconURL | Sets the asset URL of the icon for each option |
| iconTint | Sets the tint or color applied to each option |
| backgroundColor | Sets the background color of each option |
| onClick | Method to be invoked when user clicks on each option |
Was this page helpful?