class Telegram::API::ShippingOption

Overview

This object represents one shipping option.

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, title : String, prices : Array(LabeledPrice) = Array(LabeledPrice).new) #

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

This object represents one shipping option.


[View source]

Instance Method Detail

def id : String #

Shipping option identifier


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

Shipping option identifier


[View source]
def prices : Array(LabeledPrice) #

List of price portions


[View source]
def prices=(prices : Array(LabeledPrice)) #

List of price portions


[View source]
def title : String #

Option title


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

Option title


[View source]