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 chatId, double latitude, double longitude, String title, String address, Api api)
      Required
      Parameters:
      chatId - chat id
      latitude - latitude
      longitude - longitude
      title - title
      address - address
      api - api
  • Method Details

    • foursquareId

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

      public SendVenue foursquareType(String foursquareType)
      Optional
      Parameters:
      foursquareType - 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 googlePlaceId)
      Optional
      Parameters:
      googlePlaceId - Google Places identifier of the venue
      Returns:
      SendVenue
    • googlePlaceType

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