Class SendCoordinates
java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendCoordinates
- Direct Known Subclasses:
SendLocation
,SendVenue
Sends latitudes and longitudes.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull Float
@NonNull Float
void
setLatitude
(@NonNull Float latitude) void
setLongitude
(@NonNull Float longitude) Methods inherited from class io.micronaut.chatbots.telegram.api.send.Send
getChatId, getDisableNotification, getMethod, getReplyMarkup, getReplyToMessageId, setChatId, setDisableNotification, setReplyMarkup, setReplyToMessageId
-
Constructor Details
-
SendCoordinates
-
-
Method Details
-
getLongitude
- Returns:
- Longitude of the location
-
setLongitude
- Parameters:
longitude
- Longitude of the location
-
getLatitude
- Returns:
- Latitude of the location.
-
setLatitude
- Parameters:
latitude
- Latitude of the location.
-