public static class TdApi.GetInlineQueryResults extends TdApi.Function<TdApi.InlineQueryResults>
Returns InlineQueryResults
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
long |
chatId
Identifier of the chat where the query was sent.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
offset
Offset of the first entry to return; use empty string to get the first chunk of results.
|
java.lang.String |
query
Text of the query.
|
TdApi.Location |
userLocation
Location of the user; pass null if unknown or the bot doesn't need user's location.
|
| Constructor and Description |
|---|
GetInlineQueryResults()
Default constructor for a function, which sends an inline query to a bot and returns its results.
|
GetInlineQueryResults(long botUserId,
long chatId,
TdApi.Location userLocation,
java.lang.String query,
java.lang.String offset)
Creates a function, which sends an inline query to a bot and returns its results.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public long chatId
public TdApi.Location userLocation
public java.lang.String query
public java.lang.String offset
public static final int CONSTRUCTOR
public GetInlineQueryResults()
Returns InlineQueryResults
public GetInlineQueryResults(long botUserId,
long chatId,
TdApi.Location userLocation,
java.lang.String query,
java.lang.String offset)
Returns InlineQueryResults
botUserId - Identifier of the target bot.chatId - Identifier of the chat where the query was sent.userLocation - Location of the user; pass null if unknown or the bot doesn't need user's location.query - Text of the query.offset - Offset of the first entry to return; use empty string to get the first chunk of results.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object