public class CallbackQueryResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CallbackQueryResponse.CallbackQueryResponseBuilder |
| Constructor and Description |
|---|
CallbackQueryResponse() |
| Modifier and Type | Method and Description |
|---|---|
static CallbackQueryResponse.CallbackQueryResponseBuilder |
builder() |
Integer |
getCacheTime()
The maximum amount of time in seconds that the result of the callback query may be cached client-side.
|
String |
getText()
Gets a the text that will be sent with this response
|
URL |
getURL()
URL that will be opened by the user's client.
|
boolean |
isShowAlert()
If true, an alert will be shown by the client instead of a notification at the top of the chat screen.
|
public static CallbackQueryResponse.CallbackQueryResponseBuilder builder()
@NonNull public String getText()
public boolean isShowAlert()
public URL getURL()
public Integer getCacheTime()
Copyright © 2017. All rights reserved.