toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.location
/
LiveLocation
Live
Location
@
Serializable
data
class
LiveLocation
(
val
longitude
:
Double
,
val
latitude
:
Double
,
val
horizontalAccuracy
:
Meters
?
=
null
,
val
livePeriod
:
Seconds
=
INDEFINITE_LIVE_PERIOD
,
val
heading
:
Degrees
?
=
null
,
val
proximityAlertRadius
:
Meters
?
=
null
)
:
Location
,
Livable
,
ProximityAlertable
,
Headed
Members
Constructors
Live
Location
Link copied to clipboard
constructor
(
longitude
:
Double
,
latitude
:
Double
,
horizontalAccuracy
:
Meters
?
=
null
,
livePeriod
:
Seconds
=
INDEFINITE_LIVE_PERIOD
,
heading
:
Degrees
?
=
null
,
proximityAlertRadius
:
Meters
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
heading
Link copied to clipboard
@
SerialName
(
value
=
"heading"
)
open
override
val
heading
:
Degrees
?
=
null
horizontal
Accuracy
Link copied to clipboard
@
SerialName
(
value
=
"horizontal_accuracy"
)
open
override
val
horizontalAccuracy
:
Meters
?
=
null
latitude
Link copied to clipboard
@
SerialName
(
value
=
"latitude"
)
open
override
val
latitude
:
Double
live
Period
Link copied to clipboard
@
SerialName
(
value
=
"live_period"
)
open
override
val
livePeriod
:
Seconds
Period in
Seconds
longitude
Link copied to clipboard
@
SerialName
(
value
=
"longitude"
)
open
override
val
longitude
:
Double
proximity
Alert
Radius
Link copied to clipboard
@
SerialName
(
value
=
"proximity_alert_radius"
)
open
override
val
proximityAlertRadius
:
Meters
?
=
null