| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.keyboards |
| Modifier and Type | Method and Description |
|---|---|
static KeyboardButton.KeyboardButtonBuilder |
KeyboardButton.builder()
This builder will allow you to progressively construct this object.
|
KeyboardButton.KeyboardButtonBuilder |
KeyboardButton.KeyboardButtonBuilder.requestContact(boolean requestContact)
*Optional*
Sets whether the button should request the users contact information when clicked
|
KeyboardButton.KeyboardButtonBuilder |
KeyboardButton.KeyboardButtonBuilder.requestLocation(boolean requestLocation)
*Optional*
Sets whether the button should request the users location information when clicked
|
KeyboardButton.KeyboardButtonBuilder |
KeyboardButton.KeyboardButtonBuilder.text(String text)
*Required*
Sets the text that will be displayed on this button
|
Copyright © 2017. All rights reserved.