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
-
public class SendLocation extends SendCoordinates
- See Also:
- SendAudio
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEND_LOCATION
-
Constructor Summary
Constructors Constructor Description SendLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getLivePeriod()
void
setLivePeriod(java.lang.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 Detail
-
SEND_LOCATION
public static final java.lang.String SEND_LOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLivePeriod
@Nullable public java.lang.Integer getLivePeriod()
- Returns:
- Period in seconds for which the location will be updated.
-
setLivePeriod
public void setLivePeriod(@Nullable java.lang.Integer livePeriod)
- Parameters:
livePeriod
- Period in seconds for which the location will be updated.
-
-