Class AnswerInlineQuery.AnswerInlineQueryBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.inline.AnswerInlineQuery.AnswerInlineQueryBuilder
-
- Enclosing class:
- AnswerInlineQuery
public static class AnswerInlineQuery.AnswerInlineQueryBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
results
public AnswerInlineQuery.AnswerInlineQueryBuilder results(java.util.List<? extends InlineResult> results)
-
addResult
public AnswerInlineQuery.AnswerInlineQueryBuilder addResult(InlineResult result)
-
addAllResults
public AnswerInlineQuery.AnswerInlineQueryBuilder addAllResults(java.util.Collection<InlineResult> result)
-
errorHandler
public AnswerInlineQuery.AnswerInlineQueryBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
callback
public AnswerInlineQuery.AnswerInlineQueryBuilder callback(java.lang.Runnable callback)
-
queryId
public AnswerInlineQuery.AnswerInlineQueryBuilder queryId(java.lang.String queryId)
-
cacheTime
public AnswerInlineQuery.AnswerInlineQueryBuilder cacheTime(java.lang.Integer cacheTime)
-
isPersonal
public AnswerInlineQuery.AnswerInlineQueryBuilder isPersonal(java.lang.Boolean isPersonal)
-
nextOffset
public AnswerInlineQuery.AnswerInlineQueryBuilder nextOffset(java.lang.String nextOffset)
-
switchPmText
public AnswerInlineQuery.AnswerInlineQueryBuilder switchPmText(java.lang.String switchPmText)
-
switchPmParameter
public AnswerInlineQuery.AnswerInlineQueryBuilder switchPmParameter(java.lang.String switchPmParameter)
-
resultHandler
public AnswerInlineQuery.AnswerInlineQueryBuilder resultHandler(java.util.function.Consumer<ChosenInlineResult> resultHandler)
-
build
public AnswerInlineQuery build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-