All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Explore the source code of the class

package com.antonioaltieri.telegram.botapi.types;


 * This object represents a point on the map.
 * @see
public class Location {

    private float longitude;

    private float latitude;

     * @return Longitude as defined by sender
    public float getLongitude() {
        return longitude;

     * @return Latitude as defined by sender
    public float getLatitude() {
        return latitude;

    public String toString() {
        final StringBuilder sb = new StringBuilder("Location{");
        sb.append(", latitude=").append(latitude);
        return sb.toString();