ShippingAddress¶
- class aiogram.types.shipping_address.ShippingAddress(*, country_code: str, state: str, city: str, street_line1: str, street_line2: str, post_code: str, **extra_data: Any)[source]¶
This object represents a shipping address.
Source: https://core.telegram.org/bots/api#shippingaddress
- country_code: str¶
Two-letter ISO 3166-1 alpha-2 country code
- state: str¶
State, if applicable
- city: str¶
City
- 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.
- street_line1: str¶
First line for the address
- street_line2: str¶
Second line for the address
- post_code: str¶
Address post code