toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.InlineQueries.InputMessageContent
/
InputLocationMessageContent
Input
Location
Message
Content
@
Serializable
data
class
InputLocationMessageContent
(
val
latitude
:
Double
,
val
longitude
:
Double
,
val
horizontalAccuracy
:
Meters
?
=
null
,
val
livePeriod
:
Seconds
?
=
null
,
val
heading
:
Degrees
?
=
null
,
val
proximityAlertRadius
:
Meters
?
=
null
)
:
Locationed
,
HorizontallyAccured
,
ProximityAlertable
,
Livable
,
Headed
,
InputMessageContent
Members
Constructors
Input
Location
Message
Content
Link copied to clipboard
constructor
(
latitude
:
Double
,
longitude
:
Double
,
horizontalAccuracy
:
Meters
?
=
null
,
livePeriod
:
Seconds
?
=
null
,
heading
:
Degrees
?
=
null
,
proximityAlertRadius
:
Meters
?
=
null
)
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
?
=
null
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