Type alias URLGenerationOptions

URLGenerationOptions: {
    fetchOpts: {
        headers?: AxiosRequestConfig<{}>["headers"];
        proxyUrl?: string;
        timeout: number;
    };
    logger?: Logger;
    thumbnailWidth: number;
    uploadImage?: WAMediaUploadFunction;
}

Type declaration

  • fetchOpts: {
        headers?: AxiosRequestConfig<{}>["headers"];
        proxyUrl?: string;
        timeout: number;
    }
    • Optional headers?: AxiosRequestConfig<{}>["headers"]
    • Optional proxyUrl?: string
    • timeout: number

      Timeout in ms

  • Optional logger?: Logger
  • thumbnailWidth: number
  • Optional uploadImage?: WAMediaUploadFunction

Generated using TypeDoc