class ShippingQuery

This object contains information about an incoming shipping query.

Methods

__construct(string $id, User $from, string $invoice_payload, ShippingAddress $shipping_address)

No description

string
getId()

Unique query identifier.

getFrom()

User who sent the query.

string
getInvoicePayload()

Bot specified invoice payload.

getShippingAddress()

User specified shipping address.

Details

at line 16
__construct(string $id, User $from, string $invoice_payload, ShippingAddress $shipping_address)

No description

Parameters

string $id
User $from
string $invoice_payload
ShippingAddress $shipping_address

at line 27
string getId()

Unique query identifier.

Return Value

string

at line 35
User getFrom()

User who sent the query.

Return Value

User

at line 43
string getInvoicePayload()

Bot specified invoice payload.

Return Value

string

at line 51
ShippingAddress getShippingAddress()

User specified shipping address.

Return Value

ShippingAddress