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