class Telegram::API::ShippingQuery

Overview

This object contains information about an incoming shipping query.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telegram::API::Type

==(other) ==, client client

Constructor methods inherited from class Telegram::API::Type

new(pull : JSON::PullParser) new

Constructor Detail

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

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

This object contains information about an incoming shipping query.


[View source]

Instance Method Detail

def from : User #

User who sent the query


[View source]
def from=(from : 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 : ShippingAddress #

User specified shipping address


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

User specified shipping address


[View source]