Layer 224
constructor
shippingOption#b6213cdf id:string title:string prices:Vector<LabeledPrice> = ShippingOption;

Parameters

Name Type Description
Id string Option ID
Title string Title
Prices Vector<LabeledPrice> List of price portions

Returns

ShippingOption

Gogram Example

// Creating ShippingOptionObj constructor
obj := &tg.ShippingOptionObj{
    Id: "Hello, World!",
    Title: "Hello, World!",
    Prices: []tg.LabeledPrice{&tg.LabeledPrice{}},
}