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 TypeFieldDescriptionButton to be shown above inline query results; may be null.static final int
Identifier uniquely determining type of the object.long
Unique identifier of the inline query.The offset for the next request.Results of the query. -
Constructor Summary
ConstructorDescriptionRepresents the results of the inline query.InlineQueryResults
(long inlineQueryId, TdApi.InlineQueryResultsButton button, TdApi.InlineQueryResult[] results, String nextOffset) Represents the results of the inline query.InlineQueryResults
(DataInput input) Represents the results of the inline query. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
inlineQueryId
public long inlineQueryIdUnique identifier of the inline query. -
button
Button to be shown above inline query results; may be null. -
results
Results of the query. -
nextOffset
The offset for the next request. If empty, there are no more results. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- 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, TdApi.InlineQueryResultsButton button, TdApi.InlineQueryResult[] results, String nextOffset) Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query.- Parameters:
inlineQueryId
- Unique identifier of the inline query.button
- Button to be shown above inline query results; may be null.results
- Results of the query.nextOffset
- The offset for the next request. If empty, there are no more results.
-
InlineQueryResults
Represents the results of the inline query. Use sendInlineQueryResultMessage to send the result of the query.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-