Class SendCoordinates

java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendCoordinates
Direct Known Subclasses:
SendLocation, SendVenue

public class SendCoordinates extends Send
Sends latitudes and longitudes.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • SendCoordinates

      protected SendCoordinates(String method)
  • Method Details

    • getLongitude

      @NonNull public @NonNull Float getLongitude()
      Returns:
      Longitude of the location
    • setLongitude

      public void setLongitude(@NonNull @NonNull Float longitude)
      Parameters:
      longitude - Longitude of the location
    • getLatitude

      @NonNull public @NonNull Float getLatitude()
      Returns:
      Latitude of the location.
    • setLatitude

      public void setLatitude(@NonNull @NonNull Float latitude)
      Parameters:
      latitude - Latitude of the location.