CardMessage class is used to create a card message for CometChat. It extends the InteractiveMessage class from CometChat.
Constructor
Class Usage
How to create an instance of theCardMessage class:
- TypeScript
Key Properties and Methods
Image Url
ThesetImageUrl() method allows to set the image URL for the card.
- TypeScript
Example
Below is an example that showcases the creation and manipulation of an instance ofCardMessage:
- TypeScript