ShippingOption
- class pyrogram.raw.types.ShippingOption
Shipping option
Constructor of
ShippingOption.- Details:
Layer:
223ID:
B6213CDF
- Parameters:
id (
str) – Option IDtitle (
str) – Titleprices (List of
LabeledPrice) – List of price portions
TL Schema
shippingOption#b6213cdf
id:string
title:string
prices:Vector<LabeledPrice>
= ShippingOption
Parameter Tree
ShippingOption
├── id →
string├── title →
string└── prices →
Vector < LabeledPrice >└──
LabeledPrice├── label →
string└── amount →
longExample
ShippingOption(
id="text",
title="text",
prices=[
LabeledPrice(
label="text",
amount=0
)
],
)