convertVoiceToText method
Implementation
@override
Future<V2TimValueCallback<String>> convertVoiceToText({
required String msgID,
required String language, // "zh (cmn-Hans-CN)" "yue-Hant-HK" "en-US" "ja-JP"
}) async {
return V2TimValueCallback<String>.fromJson(
formatJson(
await _channel.invokeMethod(
'convertVoiceToText',
buildMessageMangerParam(
{
"msgID": msgID,
"language": language,
},
),
),
),
);
}