OrderInfo¶
- class aiogram.types.order_info.OrderInfo(*, name: str | None = None, phone_number: str | None = None, email: str | None = None, shipping_address: ShippingAddress | None = None, **extra_data: Any)[source]¶
This object represents information about an order.
Source: https://core.telegram.org/bots/api#orderinfo
- name: str | None¶
Optional. User name
- phone_number: str | None¶
Optional. User’s phone number
- 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.
- email: str | None¶
Optional. User email
- shipping_address: ShippingAddress | None¶
Optional. User shipping address