Layer 228
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: "example",
    Title: "Example",
    Prices: []tg.LabeledPrice{&tg.LabeledPriceObj{}},
}