CustomInteractiveMessage class is used to create an interactive message that can be sent via CometChat. It extends the InteractiveMessage class from CometChat.
Constructor
| Name | Type | Description |
|---|---|---|
| receiverId | string | The ID of the receiver |
| receiverType | string | The type of the receiver |
| jsonObject | JSONObject | This parameter takes json object for interactiveData |
Class Usage
How to create an instance of theCustomInteractiveMessage class:
- Java
Send Custom Interactive Message
- Java