PostAddress

class pyrogram.raw.types.PostAddress

Shipping address

Constructor of PostAddress.

Details:
  • Layer: 223

  • ID: 1E8CAAEB

Parameters:
  • street_line1 (str) – First line for the address

  • street_line2 (str) – Second line for the address

  • city (str) – City

  • state (str) – State, if applicable (empty otherwise)

  • country_iso2 (str) – ISO 3166-1 alpha-2 country code

  • post_code (str) – Address post code

TL Schema

postAddress#1e8caaeb
street_line1:string
street_line2:string
city:string
state:string
country_iso2:string
post_code:string

= PostAddress

Parameter Tree

PostAddress
├── street_line1string
├── street_line2string
├── citystring
├── statestring
├── country_iso2string
└── post_codestring

Example

PostAddress(
    street_line1="text",
    street_line2="text",
    city="text",
    state="text",
    country_iso2="text",
    post_code="text",
)