Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Hierarchy

  • ChatTranslateLanguage

Index

Constructors

Properties

Constructors

  • new ChatTranslateLanguage(params: { code: string; name: string; nativeName: string }): ChatTranslateLanguage
  • Parameters

    • params: { code: string; name: string; nativeName: string }
      • code: string
      • name: string
      • nativeName: string

    Returns ChatTranslateLanguage

Properties

code: string

The code of a target language. For example, the code for simplified Chinese is "zh-Hans".

name: string

The language name. For example, the name for simplified Chinese is "Chinese Simplified".

nativeName: string

The native name of the language. For example, the native name of simplified Chinese is "Chinese (Simplified)".

Generated using TypeDoc