Hierarchy (View Summary, Expand)

Constructors

Properties

application: Application
client: BaseClient
logger: Logger
requestURL: "https://translate.google.com/translate_a/single?client=at&dt=t&dt=rm&dj=1"
name: string

Returns the name of the function. Function names are read-only and can not be changed.

Methods

  • Parameters

    • text: string
    • from: string = "auto"
    • to: string = "en"

    Returns Promise<
        | {
            error?: undefined;
            response: AxiosResponse<any, any>;
            translation: any;
        }
        | { error: unknown; response?: undefined; translation?: undefined },
    >

MMNEPVFCICPMFPCPTTAAATR