Class SendVenue


public class SendVenue extends SendBuilder<SendVenue, Message>
SendVenue class. Returns sent Message on success.
Since:
3 March 2025
See Also:
  • Constructor Details

    • SendVenue

      public SendVenue(Object chat_id, double latitude, double longitude, String title, String address, Api api)
      Required
      Parameters:
      chat_id - chat id
      latitude - latitude
      longitude - longitude
      title - title
      address - address
      api - api
  • Method Details

    • foursquareId

      public SendVenue foursquareId(String foursquare_id)
      Optional
      Parameters:
      foursquare_id - Foursquare identifier of the venue
      Returns:
      SendVenue
    • foursquareType

      public SendVenue foursquareType(String foursquare_type)
      Optional
      Parameters:
      foursquare_type - Foursquare type of the venue, if known. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
      Returns:
      SendVenue
    • googlePlaceId

      public SendVenue googlePlaceId(String google_place_id)
      Optional
      Parameters:
      google_place_id - Google Places identifier of the venue
      Returns:
      SendVenue
    • googlePlaceType

      public SendVenue googlePlaceType(String google_place_type)
      Optional
      Parameters:
      google_place_type - Google Places type of the venue.
      Returns:
      SendVenue
      See Also: