Class KeyboardButton
- java.lang.Object
-
- com.pengrad.telegrambot.model.request.KeyboardButton
-
- All Implemented Interfaces:
java.io.Serializable
public class KeyboardButton extends java.lang.Object implements java.io.Serializable
Stas Parshin 06 May 2016- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KeyboardButton(java.lang.String text)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyboardButton
requestContact(boolean requestContact)
KeyboardButton
requestLocation(boolean requestLocation)
KeyboardButton
requestPoll(KeyboardButtonPollType poll)
-
-
-
Method Detail
-
requestLocation
public KeyboardButton requestLocation(boolean requestLocation)
-
requestContact
public KeyboardButton requestContact(boolean requestContact)
-
requestPoll
public KeyboardButton requestPoll(KeyboardButtonPollType poll)
-
-