Skip to main content

ActionsView

CometChatActionsView is a pre-defined structure for creating actions that the user can perform on a message with a customised UI view representation.

Structure of CometChatActionsView

NameTypeType
idstringUnique identifier for the message action
titlestringHeading text for the message action
iconURLstringAsset URL for the icon to symbolize a message action
iconTintstringColor applied to the icon of a message action
titleFontstringSets all the different properties of font for the action title text
titleColorstringSets the foreground color of action title text
backgroundColorstringColor applied to the background of the message action
customViewviewUser-defined component to customise the action view for each option in the template.