Before you begin
Create a Rev.ai account
Sign up with Rev.ai.
Extension settings
Open your CometChat app
Login to CometChat and select your app.
Enable Voice Transcription
Go to Chat & Messaging —> Features, under Extentions and enable Voice Transcription.
Choose Your Integration Method
Choose the integration method that best suits your needs:UI Kit Builder
- Enable it in both Dashboard and UI Kit Builder settings, then you can use the TinyURL extension in your custom chat experience.
Widget Builder
- Enable it in both Dashboard and Widget Builder settings, then you can use the TinyURL extension in your custom chat widget.
UI Kits
- Enable it in the Dashboard settings, then you can use the TinyURL extension in your custom chat experience built with our UI Kits.
SDK
- Enable it in the Dashboard settings, then you can use the TinyURL extension in your custom chat experience built with our SDK.
Code
Once the Extension is enabled for your App and the settings are done, the recipients will receive metadata with the transcription details.The transcription information is updated after the message is sent, so implement the
onMessageEdited listener. See Edit message in the SDK docs.- JSON
Implementation
At the recipients’ end, from the message object, you can fetch the metadata by calling the getMetadata() method. Using this metadata, you can fetch the Rich Media Embed.- JavaScript
- Java
- Kotlin
- Swift
- Flutter