peyk.platforms.telegram.types.shipping_option¶
Classes
|
This object represents one shipping option. |
- class peyk.platforms.telegram.types.shipping_option.ShippingOption(id: str, title: str, prices: List[LabeledPrice])[source]¶
Bases:
objectThis object represents one shipping option.
- Variables:
id (str) – Shipping option identifier
title (str) – Option title
prices (List[peyk.platforms.telegram.types.labeled_price.LabeledPrice]) – List of price portions
- id: str¶
- title: str¶
- prices: List[LabeledPrice]¶
- classmethod from_dict(data: dict | None) ShippingOption | None[source]¶
Provides the from dict operation for the Telegram integration.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the operation.
- to_dict()¶
_shipping_option_to_dict Telegram model helper.