docs
6.0.1
common
docs
/
dev.inmo.tgbotapi.requests.send
/
SendLocation
Send
Location
@
Serializable
data
class
SendLocation
:
SendMessageRequest
<
ContentMessage
<
LocationContent
>
>
,
ReplyingMarkupSendMessageRequest
<
ContentMessage
<
LocationContent
>
>
,
PositionedSendMessageRequest
<
ContentMessage
<
LocationContent
>
>
,
HorizontallyAccured
,
Livable
,
ProximityAlertable
,
Headed
Functions
Properties
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
allow
Sending
Without
Reply
Link copied to clipboard
open
override
val
allowSendingWithoutReply
:
Boolean
?
=
null
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
disable
Notification
Link copied to clipboard
open
override
val
disableNotification
:
Boolean
=
false
heading
Link copied to clipboard
open
override
val
heading
:
Degrees
?
=
null
horizontal
Accuracy
Link copied to clipboard
open
override
val
horizontalAccuracy
:
Meters
?
=
null
latitude
Link copied to clipboard
open
override
val
latitude
:
Double
live
Period
Link copied to clipboard
open
override
val
livePeriod
:
Seconds
?
=
null
Period in
Seconds
longitude
Link copied to clipboard
open
override
val
longitude
:
Double
protect
Content
Link copied to clipboard
open
override
val
protectContent
:
Boolean
=
false
proximity
Alert
Radius
Link copied to clipboard
open
override
val
proximityAlertRadius
:
Meters
?
=
null
reply
Markup
Link copied to clipboard
open
override
val
replyMarkup
:
KeyboardMarkup
?
=
null
reply
To
Message
Id
Link copied to clipboard
open
override
val
replyToMessageId
:
MessageId
?
=
null
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
ContentMessage
<
LocationContent
>
>
thread
Id
Link copied to clipboard
open
override
val
threadId
:
MessageThreadId
?