Class SendLocation.SendLocationBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.send.SendLocation.SendLocationBuilder
-
- Enclosing class:
- SendLocation
public static class SendLocation.SendLocationBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SendLocation
build()
SendLocation.SendLocationBuilder
callback(java.util.function.Consumer<Message> callback)
SendLocation.SendLocationBuilder
chatId(ChatId chatId)
SendLocation.SendLocationBuilder
disableNotification(java.lang.Boolean disableNotification)
SendLocation.SendLocationBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
SendLocation.SendLocationBuilder
latitude(java.lang.Float latitude)
SendLocation.SendLocationBuilder
livePeriod(java.lang.Integer livePeriod)
SendLocation.SendLocationBuilder
longitude(java.lang.Float longitude)
SendLocation.SendLocationBuilder
replyMarkup(ReplyMarkup replyMarkup)
SendLocation.SendLocationBuilder
replyToMessageId(java.lang.Integer replyToMessageId)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public SendLocation.SendLocationBuilder callback(java.util.function.Consumer<Message> callback)
-
errorHandler
public SendLocation.SendLocationBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public SendLocation.SendLocationBuilder chatId(ChatId chatId)
-
replyToMessageId
public SendLocation.SendLocationBuilder replyToMessageId(java.lang.Integer replyToMessageId)
-
disableNotification
public SendLocation.SendLocationBuilder disableNotification(java.lang.Boolean disableNotification)
-
replyMarkup
public SendLocation.SendLocationBuilder replyMarkup(ReplyMarkup replyMarkup)
-
livePeriod
public SendLocation.SendLocationBuilder livePeriod(java.lang.Integer livePeriod)
-
latitude
public SendLocation.SendLocationBuilder latitude(java.lang.Float latitude)
-
longitude
public SendLocation.SendLocationBuilder longitude(java.lang.Float longitude)
-
build
public SendLocation build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-