Class SendLocation
java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendCoordinates
io.micronaut.chatbots.telegram.api.send.SendLocation
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Integer
void
setLivePeriod
(@Nullable Integer livePeriod) Methods inherited from class io.micronaut.chatbots.telegram.api.send.SendCoordinates
getLatitude, getLongitude, setLatitude, setLongitude
Methods inherited from class io.micronaut.chatbots.telegram.api.send.Send
getChatId, getDisableNotification, getMethod, getReplyMarkup, getReplyToMessageId, setChatId, setDisableNotification, setReplyMarkup, setReplyToMessageId
-
Field Details
-
SEND_LOCATION
- See Also:
-
-
Constructor Details
-
SendLocation
public SendLocation()
-
-
Method Details
-
getLivePeriod
- Returns:
- Period in seconds for which the location will be updated.
-
setLivePeriod
- Parameters:
livePeriod
- Period in seconds for which the location will be updated.
-