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