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

org.telegram.telegrambots.api.objects.inlinequery.inputmessagecontent.InputVenueMessageContent Maven / Gradle / Ivy

There is a newer version: 0.1.1
Show newest version
package org.telegram.telegrambots.api.objects.inlinequery.inputmessagecontent;

import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * @author Lev Nadeinsky
 * @author Ruben Bermudez
 * @brief Represents the content of a venue message to be sent as the result of an inline query.
 * @note This will only work in Telegram versions released after 9 April, 2016. Older clients will
 * ignore them.
 * @date	2016-11-22
 */
@Data
@EqualsAndHashCode(callSuper=true)
@ToString(callSuper=true)
public class InputVenueMessageContent extends InputMessageContent{
    Float latitude; ///< Latitude of the venue in degrees
    Float longitude; ///< Longitude of the venue in degrees
    String title; ///< Name of the venue
    String address; ///< Address of the venue
    @JsonProperty("foursquare_id") String foursquareId; ///< Optional. Foursquare identifier of the venue, if known

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy