InputGeoPoint

class pyrogram.raw.types.InputGeoPoint

Defines a GeoPoint by its coordinates.

Constructor of InputGeoPoint.

Details:
  • Layer: 223

  • ID: 48222FAF

Parameters:
  • lat (float 64-bit) – Latitude

  • long (float 64-bit) – Longitude

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

TL Schema

inputGeoPoint#48222faf
flags:#
lat:double
long:double
accuracy_radius:flags.0?int

= InputGeoPoint

Parameter Tree

InputGeoPoint
├── latdouble
├── longdouble
└── accuracy_radiusint (optional)

Example

InputGeoPoint(
    lat=0.0,
    long=0.0,
)