InputWebFileGeoPointLocation
- class pyrogram.raw.types.InputWebFileGeoPointLocation
Used to download a server-generated image with the map preview from a geoPoint, see the webfile docs for more info ».
Constructor of
InputWebFileLocation.- Details:
Layer:
223ID:
9F2221C9
- Parameters:
geo_point (
InputGeoPoint) – Generated from the lat, long and accuracy_radius parameters of the geoPointaccess_hash (
int64-bit) – Access hash of the geoPointw (
int32-bit) – Map width in pixels before applying scale; 16-1024h (
int32-bit) – Map height in pixels before applying scale; 16-1024zoom (
int32-bit) – Map zoom level; 13-20scale (
int32-bit) – Map scale; 1-3
TL Schema
inputWebFileGeoPointLocation#9f2221c9
geo_point:InputGeoPoint
access_hash:long
w:int
h:int
zoom:int
scale:int
= InputWebFileLocation
Parameter Tree
InputWebFileGeoPointLocation
├── geo_point →
InputGeoPoint│ ├──
InputGeoPointEmpty│ └──
InputGeoPoint│ ├── lat →
double│ ├── long →
double│ └── accuracy_radius →
int (optional)├── access_hash →
long├── w →
int├── h →
int├── zoom →
int└── scale →
intExample
InputWebFileGeoPointLocation(
geo_point=InputGeoPointEmpty(),
access_hash=0,
w=0,
h=0,
zoom=0,
scale=0,
)