public class UrlInlineKeyboardButton extends InlineKeyboardButton
| Constructor and Description |
|---|
UrlInlineKeyboardButton(java.lang.String text,
java.lang.String url)
Constructs an UrlInlineKeyboardButton.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getUrl()
Getter for property
url. |
int |
hashCode() |
getTextpublic UrlInlineKeyboardButton(java.lang.String text,
java.lang.String url)
text - label text on the buttonurl - HTTP url to be opened when button is pressedpublic boolean equals(java.lang.Object obj)
equals in class InlineKeyboardButtonpublic int hashCode()
hashCode in class InlineKeyboardButton