public static class TdApi.GetInlineQueryResults extends TdApi.Function
Returns InlineQueryResults
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
botUserId
The 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.
|
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() |
toString
public 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
- The 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.public int getConstructor()
getConstructor
in class TdApi.Function