Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

NameTypeDescription
receiverIdstringThis parameter takes uid/guid of the receiver
receiverTypestringThis parameter takes type of the receiver
jsonObjectThis parameter takes a JSON object for interactiveData

Key Properties and Methods

The CustomInteractiveMessage class does not have any custom properties or methods. However, it utilizes all methods from its parent InteractiveMessage class, including setting and getting the interactive data.

Example

Below is an example that showcases the creation of an instance of CustomInteractiveMessage:
// Create a new instance of CustomInteractiveMessage
let customInteractiveMessage = new CustomInteractiveMessage(
  "receiverId",
  CometChat.RECEIVER_TYPE.USER,
  { text: "Hello, World!" }
);