java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateNewCustomQuery
- Enclosing class:
- TdApi
A new incoming query; for bots only.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.JSON-serialized query data.long
The query identifier.int
Query timeout. -
Constructor Summary
ConstructorDescriptionA new incoming query; for bots only.UpdateNewCustomQuery
(long id, String data, int timeout) A new incoming query; for bots only.UpdateNewCustomQuery
(DataInput input) A new incoming query; for bots only. -
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
-
id
public long idThe query identifier. -
data
JSON-serialized query data. -
timeout
public int timeoutQuery timeout. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateNewCustomQuery
public UpdateNewCustomQuery()A new incoming query; for bots only. -
UpdateNewCustomQuery
A new incoming query; for bots only.- Parameters:
id
- The query identifier.data
- JSON-serialized query data.timeout
- Query timeout.
-
UpdateNewCustomQuery
A new incoming query; for bots only.- 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()
-