| Package | Description |
|---|---|
| pro.zackpollard.telegrambot.api.chat.inline.send |
| Modifier and Type | Method and Description |
|---|---|
static InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.builder()
This builder will allow you to progressively construct this object.
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.cacheTime(Integer cacheTime)
*Optional*
Sets the cache time for this response in seconds.
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.isPersonal(boolean isPersonal)
*Optional*
Sets whether the response is personal to the user or not.
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.nextOffset(String nextOffset)
*Optional*
Sets the offset that a client should send in the next query with the same text to receive more results.
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.results(InlineQueryResult... results)
*Required*
Sets the InlineQueryResult's for the response
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.results(List<InlineQueryResult> results)
*Required*
Sets the list of InlineQueryResult's for the response
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.switchPMParameter(String switchPmParameter)
*Optional*
Sets the switch pm parameter for the response.
|
InlineQueryResponse.InlineQueryResponseBuilder |
InlineQueryResponse.InlineQueryResponseBuilder.switchPMText(String switchPmText)
*Optional*
Sets the switch pm text for the response.
|
Copyright © 2017. All rights reserved.