GeoPointAddress

class pyrogram.raw.types.GeoPointAddress

Address optionally associated to a geoPoint.

Constructor of GeoPointAddress.

Details:
  • Layer: 223

  • ID: DE4C5D93

Parameters:
  • country_iso2 (str) – Two-letter ISO 3166-1 alpha-2 country code

  • state (str, optional) – State

  • city (str, optional) – City

  • street (str, optional) – Street

TL Schema

geoPointAddress#de4c5d93
flags:#
country_iso2:string
state:flags.0?string
city:flags.1?string
street:flags.2?string

= GeoPointAddress

Parameter Tree

GeoPointAddress
├── country_iso2string
├── statestring (optional)
├── citystring (optional)
└── streetstring (optional)

Example

GeoPointAddress(
    country_iso2="text",
)