ShippingOption

class aiogram.types.shipping_option.ShippingOption(*, id: str, title: str, prices: list[LabeledPrice], **extra_data: Any)[source]

This object represents one shipping option.

Source: https://core.telegram.org/bots/api#shippingoption

id: str

Shipping option identifier

title: str

Option title

model_computed_fields: ClassVar[Dict[str, ComputedFieldInfo]] = {}

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

model_post_init(context: Any, /) None

We need to both initialize private attributes and call the user-defined model_post_init method.

prices: list[LabeledPrice]

List of price portions