java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineQueryResults
- Enclosing class:
- TdApi
Represents the results of the inline
query. Use sendInlineQueryResultMessage
to send the result of the query.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
Unique identifier of the inline query.The offset for the next request.Results of the query.Parameter for the bot start message.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 Summary
ConstructorDescriptionRepresents the results of the inline query.InlineQueryResults
(long inlineQueryId, String nextOffset, TdApi.InlineQueryResult[] results, String switchPmText, String switchPmParameter) Represents the results of the inline query.InlineQueryResults
(DataInput input) Represents the results of the inline query. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
inlineQueryId
public long inlineQueryIdUnique 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InlineQueryResults
public InlineQueryResults()Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query. -
InlineQueryResults
public InlineQueryResults(long inlineQueryId, String nextOffset, TdApi.InlineQueryResult[] results, String switchPmText, String switchPmParameter) Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query.- Parameters:
inlineQueryId
- long Unique identifier of the inline query.nextOffset
- String The offset for the next request. If empty, there are no more results.results
- InlineQueryResult[] Results of the query.switchPmText
- String 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
- String Parameter for the bot start message.
-
InlineQueryResults
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-