Class KeyboardButton.KeyboardButtonBuilder
- java.lang.Object
-
- com.jtelegram.api.message.keyboard.KeyboardButton.KeyboardButtonBuilder
-
- Enclosing class:
- KeyboardButton
public static class KeyboardButton.KeyboardButtonBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyboardButton
build()
KeyboardButton.KeyboardButtonBuilder
requestContact(java.lang.Boolean requestContact)
KeyboardButton.KeyboardButtonBuilder
requestLocation(java.lang.Boolean requestLocation)
KeyboardButton.KeyboardButtonBuilder
text(java.lang.String text)
java.lang.String
toString()
-
-
-
Method Detail
-
text
public KeyboardButton.KeyboardButtonBuilder text(java.lang.String text)
-
requestContact
public KeyboardButton.KeyboardButtonBuilder requestContact(java.lang.Boolean requestContact)
-
requestLocation
public KeyboardButton.KeyboardButtonBuilder requestLocation(java.lang.Boolean requestLocation)
-
build
public KeyboardButton build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-