Skip to content

class Tourmaline::ShippingQuery
inherits Reference #

This object contains information about an incoming shipping query.

Included modules

JSON::Serializable

Constructors#

.new(id, from, invoice_payload, shipping_address) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#from : Tourmaline::User #

User who sent the query

View source

#from=(from : Tourmaline::User) #

User who sent the query

View source

#id : String #

Unique query identifier

View source

#id=(id : String) #

Unique query identifier

View source

#invoice_payload : String #

Bot specified invoice payload

View source

#invoice_payload=(invoice_payload : String) #

Bot specified invoice payload

View source

#shipping_address : Tourmaline::ShippingAddress #

User specified shipping address

View source

#shipping_address=(shipping_address : Tourmaline::ShippingAddress) #

User specified shipping address

View source