peyk.platforms.telegram.types.shipping_option

Classes

ShippingOption(id, title, prices)

This object represents one shipping option.

class peyk.platforms.telegram.types.shipping_option.ShippingOption(id: str, title: str, prices: List[LabeledPrice])[source]

Bases: object

This object represents one shipping option.

Variables:
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.