setLocation

Set the location of the current user. User-only.

Parameters

address?: string

Written address of the business. If not set, address will be removed.

latitude?: number

Latitude of the business.

longitude?: number

Longitude of the business.

Result

void

Syntax

// Optional parameters.
// Any of the optional parameters can be omitted.
await client.setLocation( { address, latitude, longitude });