Legacy. Smart Replies are now part of the AI User Copilot in the core messaging experience and no longer require this extension. Legacy extensions are not actively maintained and will not receive feature updates. For the current approach, see Smart Replies (AI User Copilot) and the AI User Copilot overview.
Extension settings
- Login to CometChat and select your app.
- Go to the Extensions section and enable the Smart Reply extension.
How does it work?
When a user sends a message, our Smart Reply extension will add metadata while the message is in-flight. The recipient will receive the message with metadata suggesting the responses. At the recipients’ end, from the message object, you can fetch the metadata by calling the getMetadata() method. Using this metadata, you can fetch suggested responses for the message.- JSON
Implementation
Using the Smart Reply extension, you can build a UI like this:
- JavaScript
- Java
- Kotlin
- Swift