class Telegram::API::ShippingOption
- Telegram::API::ShippingOption
- Telegram::API::Type
- Reference
- Object
Overview
This object represents one shipping option.
Defined in:
telegram/api/generated/types.crConstructors
- .new(id : String, title : String, prices : Array(LabeledPrice) = Array(LabeledPrice).new)
-
.new(pull : JSON::PullParser)
This object represents one shipping option.
Instance Method Summary
-
#id : String
Shipping option identifier
-
#id=(id : String)
Shipping option identifier
-
#prices : Array(LabeledPrice)
List of price portions
-
#prices=(prices : Array(LabeledPrice))
List of price portions
-
#title : String
Option title
-
#title=(title : String)
Option title