set_location

Function set_location 

Source
pub async fn set_location(
    location: Location,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes the location of the current user. Needs to be called if getOption(“is_location_visible”) is true and location changes for more than 1 kilometer. Must not be called if the user has a business location

§Arguments

  • location - The new location of the user
  • client_id - The client id to send the request to