> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-llms-scoped-indexes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Option

> Option — CometChat documentation.

CometChatOption is a pre-defined structure for creating an option that can be used to perform an action message such as edit, delete etc.

## Structure of CometChatOption

| 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](https://developer.mozilla.org/en-US/docs/Web/CSS/font) |
| 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 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.