GeoPoint

class pyrogram.raw.types.GeoPoint

GeoPoint.

Constructor of GeoPoint.

Details:
  • Layer: 223

  • ID: B2A2F663

Parameters:
  • long (float 64-bit) – Longitude

  • lat (float 64-bit) – Latitude

  • access_hash (int 64-bit) – Access hash

  • accuracy_radius (int 32-bit, optional) – The estimated horizontal accuracy of the location, in meters; as defined by the sender.

TL Schema

geoPoint#b2a2f663
flags:#
long:double
lat:double
access_hash:long
accuracy_radius:flags.0?int

= GeoPoint

Parameter Tree

GeoPoint
├── longdouble
├── latdouble
├── access_hashlong
└── accuracy_radiusint (optional)

Example

GeoPoint(
    long=0.0,
    lat=0.0,
    access_hash=0,
)