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