public static class TdApi.InlineQueryResults extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
inlineQueryId
Unique identifier of the inline query.
|
java.lang.String |
nextOffset
The offset for the next request.
|
TdApi.InlineQueryResult[] |
results
Results of the query.
|
java.lang.String |
switchPmParameter
Parameter for the bot start message.
|
java.lang.String |
switchPmText
If non-empty, this text must be shown on the button, which opens a private chat with the bot and sends the bot a start message with the switchPmParameter.
|
Constructor and Description |
---|
InlineQueryResults()
Represents the results of the inline query.
|
InlineQueryResults(long inlineQueryId,
java.lang.String nextOffset,
TdApi.InlineQueryResult[] results,
java.lang.String switchPmText,
java.lang.String switchPmParameter)
Represents the results of the inline query.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long inlineQueryId
public java.lang.String nextOffset
public TdApi.InlineQueryResult[] results
public java.lang.String switchPmText
public java.lang.String switchPmParameter
public static final int CONSTRUCTOR
public InlineQueryResults()
public InlineQueryResults(long inlineQueryId, java.lang.String nextOffset, TdApi.InlineQueryResult[] results, java.lang.String switchPmText, java.lang.String switchPmParameter)
inlineQueryId
- Unique identifier of the inline query.nextOffset
- The offset for the next request. If empty, there are no more results.results
- Results of the query.switchPmText
- If non-empty, this text must be shown on the button, which opens a private chat with the bot and sends the bot a start message with the switchPmParameter.switchPmParameter
- Parameter for the bot start message.public int getConstructor()
getConstructor
in class TdApi.Object