public static class TdApi.AnswerInlineQuery extends TdApi.TLFunction
Modifier and Type | Field and Description |
---|---|
int |
cacheTime
Allowed time to cache results of the query, defaults to 300.
|
static int |
CONSTRUCTOR
Identifier uniquely determining TL-type of object
|
long |
inlineQueryId
Identifier of the inline query.
|
boolean |
isPersonal
Does result of the query can be cached only for specified user.
|
java.lang.String |
nextOffset
Offset for the next inline query, pass empty string if there is no more results.
|
TdApi.InlineQueryResult[] |
results
Results of the query.
|
Constructor and Description |
---|
AnswerInlineQuery()
Default constructor.
|
AnswerInlineQuery(long inlineQueryId,
boolean isPersonal,
TdApi.InlineQueryResult[] results,
int cacheTime,
java.lang.String nextOffset)
Constructor for initialization of all fields.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long inlineQueryId
public boolean isPersonal
public TdApi.InlineQueryResult[] results
public int cacheTime
public java.lang.String nextOffset
public static final int CONSTRUCTOR
public AnswerInlineQuery()
public AnswerInlineQuery(long inlineQueryId, boolean isPersonal, TdApi.InlineQueryResult[] results, int cacheTime, java.lang.String nextOffset)
public int getConstructor()
getConstructor
in class TdApi.TLObject