convertVoiceToText method

Future<V2TimValueCallback<String>> convertVoiceToText({
  1. required String msgID,
  2. required String language,
  3. String? webMessageInstance,
})

Implementation

Future<V2TimValueCallback<String>> convertVoiceToText({
  required String msgID,
  required String
      language, // "zh (cmn-Hans-CN)" "yue-Hant-HK" "en-US" "ja-JP"
  String? webMessageInstance,
}) async {
  return TencentCloudChatSdkPlatform.instance.convertVoiceToText(
    msgID: msgID,
    language: language,
    webMessageInstance: webMessageInstance,
  );
}