Package com.jtelegram.api.requests
Class GetMe.GetMeBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.GetMe.GetMeBuilder
-
- Enclosing class:
- GetMe
public static class GetMe.GetMeBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetMe
build()
GetMe.GetMeBuilder
callback(java.util.function.Consumer<User> callback)
GetMe.GetMeBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
java.lang.String
toString()
-
-
-
Method Detail
-
callback
public GetMe.GetMeBuilder callback(java.util.function.Consumer<User> callback)
-
errorHandler
public GetMe.GetMeBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
build
public GetMe build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-