Layer 220
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 ShippingOption constructor
obj := &tg.ShippingOption{
    Id: "...",
    Title: "...",
    Prices: []tg.LabeledPrice{&tg.LabeledPrice{}},
}