Class InlineQueryResultVenue


  • public class InlineQueryResultVenue
    extends InlineQueryResult
    Represents a venue. By default, the venue will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the venue.
    • Constructor Detail

      • InlineQueryResultVenue

        public InlineQueryResultVenue()
      • InlineQueryResultVenue

        public InlineQueryResultVenue​(String title,
                                      String address,
                                      Float latitude,
                                      Float longitude)
        Parameters:
        title - Location title
        address - Address of the venue
        latitude - Location latitude in degrees
        longitude - Location longitude in degrees
      • InlineQueryResultVenue

        public InlineQueryResultVenue​(String title,
                                      String address,
                                      String foursquareId,
                                      String foursquareType,
                                      Float latitude,
                                      Float longitude,
                                      String thumbUrl,
                                      Integer thumbWidth,
                                      Integer thumbHeight,
                                      InlineKeyboardMarkup replyMarkup,
                                      InputMessageContent inputMessageContent)
        Parameters:
        title - Location title
        address - Address of the venue
        foursquareId - Optional. Foursquare identifier of the venue if known
        foursquareType - Optional. Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
        latitude - Location latitude in degrees
        longitude - Location longitude in degrees
        thumbUrl - Optional. URL of the thumbnail (jpeg only) for the file
        thumbWidth - Optional. Thumbnail width
        thumbHeight - Optional. Thumbnail height
        replyMarkup - Optional. Inline keyboard attached to the message
        inputMessageContent - Optional. Content of the message