Options
All
  • Public
  • Public/Protected
  • All
Menu

Translation contains the APIs for translation operations.

Index

Functions

  • Translates the text.

    connection.translateMessage('hello', 'zh')
    

    Parameters

    • this: Connection
    • params: { languages: string[]; text: string }
      • languages: string[]

        The list of target language codes.

      • text: string

        The text to be translated.

    Returns Promise<AsyncResult<TranslationResult>>

Generated using TypeDoc