Package it.tdlight.jni
Class TdApi.UpdateNewShippingQuery
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateNewShippingQuery
- Enclosing class:
- TdApi
public static class TdApi.UpdateNewShippingQuery extends TdApi.Update
A new incoming shipping query; for
bots only. Only for invoices with flexible price.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
long
id
Unique query identifier.String
invoicePayload
Invoice payload.long
senderUserId
Identifier of the user who sent the query.TdApi.Address
shippingAddress
User shipping address. -
Constructor Summary
Constructors Constructor Description UpdateNewShippingQuery()
A new incoming shipping query; for bots only.UpdateNewShippingQuery(long id, long senderUserId, String invoicePayload, TdApi.Address shippingAddress)
A new incoming shipping query; for bots only.UpdateNewShippingQuery(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 idUnique query identifier. -
senderUserId
public long senderUserIdIdentifier of the user who sent the query. -
invoicePayload
Invoice payload. -
shippingAddress
User shipping address. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateNewShippingQuery
public UpdateNewShippingQuery()A new incoming shipping query; for bots only. Only for invoices with flexible price. -
UpdateNewShippingQuery
public UpdateNewShippingQuery(long id, long senderUserId, String invoicePayload, TdApi.Address shippingAddress)A new incoming shipping query; for bots only. Only for invoices with flexible price.- Parameters:
id
- long Unique query identifier.senderUserId
- long Identifier of the user who sent the query.invoicePayload
- String Invoice payload.shippingAddress
- Address User shipping address.
-
UpdateNewShippingQuery
- 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()
-