Package it.tdlight.jni
Class TdApi.UpdateNewCustomQuery
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateNewCustomQuery
- Enclosing class:
- TdApi
public static class TdApi.UpdateNewCustomQuery extends TdApi.Update
A new incoming query; for bots only.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
data
JSON-serialized query data.long
id
The query identifier.int
timeout
Query timeout. -
Constructor Summary
Constructors Constructor Description UpdateNewCustomQuery()
A new incoming query; for bots only.UpdateNewCustomQuery(long id, String data, int timeout)
A new incoming query; for bots only.UpdateNewCustomQuery(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods 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 CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateNewCustomQuery
public UpdateNewCustomQuery()A new incoming query; for bots only. -
UpdateNewCustomQuery
A new incoming query; for bots only.- Parameters:
id
- long The query identifier.data
- String JSON-serialized query data.timeout
- int Query timeout.
-
UpdateNewCustomQuery
- 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()
-