forwardTranslatedText method

Future<void> forwardTranslatedText(
  1. String text,
  2. String conversationId, {
  3. String? postScript,
})

Implementation

Future<void> forwardTranslatedText(
  String text,
  String conversationId, {
  String? postScript,
}) async {
  final result = await MessageCreator.createTextMessage(text);
  if (!result.isSuccess || result.data == null) {
    return;
  }
  forwardMessage(
    result.data!,
    conversationId,
    postScript: postScript,
  );
}