com.pengrad.telegrambot.model.request.KeyboardButton Maven / Gradle / Ivy
package com.pengrad.telegrambot.model.request;
/**
* Stas Parshin
* 06 May 2016
*/
public class KeyboardButton {
private String text;
private boolean request_contact;
private boolean request_location;
public KeyboardButton(String text) {
this.text = text;
}
public KeyboardButton requestLocation(boolean requestLocation) {
request_location = requestLocation;
return this;
}
public KeyboardButton requestContact(boolean requestContact) {
request_contact = requestContact;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy