Class StopMessageLiveLocation.StopMessageLiveLocationBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.message.StopMessageLiveLocation.StopMessageLiveLocationBuilder
-
- Enclosing class:
- StopMessageLiveLocation
public static class StopMessageLiveLocation.StopMessageLiveLocationBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StopMessageLiveLocation
build()
StopMessageLiveLocation.StopMessageLiveLocationBuilder
callback(java.util.function.Consumer<Message> callback)
StopMessageLiveLocation.StopMessageLiveLocationBuilder
callbackType(java.lang.Class<Message> callbackType)
StopMessageLiveLocation.StopMessageLiveLocationBuilder
chatId(ChatId chatId)
StopMessageLiveLocation.StopMessageLiveLocationBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
StopMessageLiveLocation.StopMessageLiveLocationBuilder
inlineMessageId(java.lang.String inlineMessageId)
StopMessageLiveLocation.StopMessageLiveLocationBuilder
messageId(java.lang.Integer messageId)
java.lang.String
toString()
-
-
-
Method Detail
-
callbackType
public StopMessageLiveLocation.StopMessageLiveLocationBuilder callbackType(java.lang.Class<Message> callbackType)
-
callback
public StopMessageLiveLocation.StopMessageLiveLocationBuilder callback(java.util.function.Consumer<Message> callback)
-
errorHandler
public StopMessageLiveLocation.StopMessageLiveLocationBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
chatId
public StopMessageLiveLocation.StopMessageLiveLocationBuilder chatId(ChatId chatId)
-
messageId
public StopMessageLiveLocation.StopMessageLiveLocationBuilder messageId(java.lang.Integer messageId)
-
inlineMessageId
public StopMessageLiveLocation.StopMessageLiveLocationBuilder inlineMessageId(java.lang.String inlineMessageId)
-
build
public StopMessageLiveLocation build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-