public static class SendableVenueMessage.SendableVenueMessageBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
SendableVenueMessage.SendableVenueMessageBuilder |
address(String address)
*Required*
Sets the address of the venue to be sent
|
SendableVenueMessage |
build()
Builds the SendableVenueMessage object
|
SendableVenueMessage.SendableVenueMessageBuilder |
disableNotification(boolean disableNotification)
*Optional*
Sets whether or not to disable any notification this message might usually cause.
|
SendableVenueMessage.SendableVenueMessageBuilder |
foursquareId(String foursquareId)
*Optional*
Sets the foursquare ID for the venue to be sent
|
SendableVenueMessage.SendableVenueMessageBuilder |
latitude(double latitude)
*Required*
Sets the latitude of the venue you want to send
|
SendableVenueMessage.SendableVenueMessageBuilder |
longitude(double longitude)
*Required*
Sets the longitude of the venue you want to send
|
SendableVenueMessage.SendableVenueMessageBuilder |
replyMarkup(ReplyMarkup replyMarkup)
*Optional*
Sets the ReplyMarkup that you want to send with the message
|
SendableVenueMessage.SendableVenueMessageBuilder |
replyTo(long replyTo)
*Optional*
Sets the ID of the message you want to reply to
|
SendableVenueMessage.SendableVenueMessageBuilder |
replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableVenueMessage.SendableVenueMessageBuilder |
title(String title)
*Required*
Sets the title of the venue to be sent
|
public SendableVenueMessage.SendableVenueMessageBuilder latitude(double latitude)
latitude - The latitude of the venuepublic SendableVenueMessage.SendableVenueMessageBuilder longitude(double longitude)
longitude - The longitude of the venuepublic SendableVenueMessage.SendableVenueMessageBuilder title(String title)
title - The title of the venuepublic SendableVenueMessage.SendableVenueMessageBuilder address(String address)
address - The address of the venuepublic SendableVenueMessage.SendableVenueMessageBuilder foursquareId(String foursquareId)
foursquareId - The foursquare ID for the venuepublic SendableVenueMessage.SendableVenueMessageBuilder replyTo(Message replyTo)
replyTo - The Message object you want to reply topublic SendableVenueMessage.SendableVenueMessageBuilder replyTo(long replyTo)
replyTo - The ID of the message you want to reply topublic SendableVenueMessage.SendableVenueMessageBuilder replyMarkup(ReplyMarkup replyMarkup)
replyMarkup - The ReplyMarkup you want to send with the messagepublic SendableVenueMessage.SendableVenueMessageBuilder disableNotification(boolean disableNotification)
disableNotification - True to disable notifications for this message, False otherwisepublic SendableVenueMessage build()
Copyright © 2017. All rights reserved.