Package com.pengrad.telegrambot.request
Class AnswerCallbackQuery
- java.lang.Object
-
- com.pengrad.telegrambot.request.BaseRequest<AnswerCallbackQuery,BaseResponse>
-
- com.pengrad.telegrambot.request.AnswerCallbackQuery
-
public class AnswerCallbackQuery extends BaseRequest<AnswerCallbackQuery,BaseResponse>
Stas Parshin 07 May 2016
-
-
Field Summary
-
Fields inherited from class com.pengrad.telegrambot.request.BaseRequest
thisAsT
-
-
Constructor Summary
Constructors Constructor Description AnswerCallbackQuery(java.lang.String callbackQueryId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnswerCallbackQuerycacheTime(int cacheTime)AnswerCallbackQueryshowAlert(boolean showAlert)AnswerCallbackQuerytext(java.lang.String text)AnswerCallbackQueryurl(java.lang.String url)-
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, isMultipart, serialize, toWebhookResponse
-
-
-
-
Method Detail
-
text
public AnswerCallbackQuery text(java.lang.String text)
-
showAlert
public AnswerCallbackQuery showAlert(boolean showAlert)
-
url
public AnswerCallbackQuery url(java.lang.String url)
-
cacheTime
public AnswerCallbackQuery cacheTime(int cacheTime)
-
-