Class AnswerInlineQuery
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<AnswerInlineQuery, Boolean>
io.github.natanimn.telebof.requests.answer.AnswerInlineQuery
AnswerInlineQuery clas. Returns True on success.
- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionAnswerInlineQuery(String inline_query_id, InlineQueryResult[] results, Api api) Required
- 
Method SummaryModifier and TypeMethodDescriptionbutton(InlineQueryResultsButton button) OptionalcacheTime(int cache_time) OptionalisPersonal(boolean is_personal) OptionalnextOffset(String next_offset) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
AnswerInlineQueryRequired- Parameters:
- inline_query_id- inline query id
- results- results
- api- api
 
 
- 
- 
Method Details- 
cacheTimeOptional- Parameters:
- cache_time- The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300.
- Returns:
- AnswerInlineQuery
 
- 
isPersonalOptional- Parameters:
- is_personal- Pass True if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query.
- Returns:
- AnswerInlineQuery
 
- 
nextOffsetOptional- Parameters:
- next_offset- Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don't support pagination. Offset length can't exceed 64 bytes.
- Returns:
- AnswerInlineQuery
 
- 
buttonOptional- Parameters:
- button- A JSON-serialized object describing a button to be shown above inline query results
- Returns:
- AnswerInlineQuery
 
 
-