startLiveLocationSharing

fun startLiveLocationSharing(cid: String, latitude: Double, longitude: Double, deviceId: String, endAt: Date): Call<Location>

Starts live location sharing for the given channel.

Parameters

cid

The full channel id, i.e. "messaging:123" to which the live location will be shared.

latitude

The latitude of the location.

longitude

The longitude of the location.

deviceId

The device ID from which the location is shared.

endAt

The date when the live location sharing will end.