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 StopMessageLiveLocationbuild()StopMessageLiveLocation.StopMessageLiveLocationBuildercallback(java.util.function.Consumer<Message> callback)StopMessageLiveLocation.StopMessageLiveLocationBuildercallbackType(java.lang.Class<Message> callbackType)StopMessageLiveLocation.StopMessageLiveLocationBuilderchatId(ChatId chatId)StopMessageLiveLocation.StopMessageLiveLocationBuildererrorHandler(java.util.function.Consumer<TelegramException> errorHandler)StopMessageLiveLocation.StopMessageLiveLocationBuilderinlineMessageId(java.lang.String inlineMessageId)StopMessageLiveLocation.StopMessageLiveLocationBuildermessageId(java.lang.Integer messageId)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-