class Tourmaline::ShippingQuery

Overview

This object contains information about an incoming shipping query.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, from : Tourmaline::User, invoice_payload : String, shipping_address : Tourmaline::ShippingAddress) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def from : Tourmaline::User #

User who sent the query


[View source]
def from=(from : Tourmaline::User) #

User who sent the query


[View source]
def id : String #

Unique query identifier


[View source]
def id=(id : String) #

Unique query identifier


[View source]
def invoice_payload : String #

Bot specified invoice payload


[View source]
def invoice_payload=(invoice_payload : String) #

Bot specified invoice payload


[View source]
def shipping_address : Tourmaline::ShippingAddress #

User specified shipping address


[View source]
def shipping_address=(shipping_address : Tourmaline::ShippingAddress) #

User specified shipping address


[View source]