public class KeyboardButton extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyboardButton.KeyboardButtonBuilder |
| Constructor and Description |
|---|
KeyboardButton() |
| Modifier and Type | Method and Description |
|---|---|
static KeyboardButton.KeyboardButtonBuilder |
builder()
This builder will allow you to progressively construct this object.
|
String |
getText()
Gets the text that this KeyboardButton will have
|
boolean |
isRequestContact()
Gets whether the users contact should be sent when the button is pressed.
|
boolean |
isRequestLocation()
Gets whether the users location should be sent when the button is pressed.
|
public static KeyboardButton.KeyboardButtonBuilder builder()
public String getText()
public boolean isRequestContact()
public boolean isRequestLocation()
Copyright © 2017. All rights reserved.