MessageContentLocation

A message content that shares a location.

Properties

type: "text"
latitude: number

The latitude of the location.

longitude: number

The longitude of the location.

horizontalAccuracy?: number

The accuracy radius of the location in meters. Must be in the range of 0-1500.

livePeriod?: number

The duration in which the location can be updated in seconds. Must be in the range of 80-864,000.

heading?: number

The direction which the user is moving towards. Must be in the range of 1-350.

proximityAlertRadius?: number

The maximum distance for proximity alerts on approaching another chat member in meters. Must be in the range 1-100,000.