Class 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 Detail

      • id

        public long id
        Unique query identifier.
      • senderUserId

        public int senderUserId
        Identifier of the user who sent the query.
      • invoicePayload

        public java.lang.String invoicePayload
        Invoice payload.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateNewShippingQuery

        public UpdateNewShippingQuery()
        Default constructor.
      • UpdateNewShippingQuery

        public UpdateNewShippingQuery​(long id,
                                      int senderUserId,
                                      java.lang.String invoicePayload,
                                      TdApi.ShippingAddress shippingAddress)
        Constructor for initialization of all fields.
        Parameters:
        id - Unique query identifier.
        senderUserId - Identifier of the user who sent the query.
        invoicePayload - Invoice payload.
        shippingAddress - User shipping address.