MadelineProtoDocs/docs/API_docs/constructors/inputWebFileGeoPointLocation.md
2024-05-01 14:53:46 +02:00

1.6 KiB

title description nav_exclude image
inputWebFileGeoPointLocation Used to download a server-generated image with the map preview from a geoPoint, see the webfile docs for more info ». true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputWebFileGeoPointLocation

Back to constructors index

Used to download a server-generated image with the map preview from a geoPoint, see the webfile docs for more info ».

Attributes:

Name Type Required Description
geo_point InputGeoPoint Optional Generated from the lat, long and accuracy_radius parameters of the geoPoint
access_hash long Yes Access hash of the geoPoint
w int Yes Map width in pixels before applying scale; 16-1024
h int Yes Map height in pixels before applying scale; 16-1024
zoom int Yes Map zoom level; 13-20
scale int Yes Map scale; 1-3

Type: InputWebFileLocation

Example:

$inputWebFileGeoPointLocation = ['_' => 'inputWebFileGeoPointLocation', 'geo_point' => InputGeoPoint, 'access_hash' => long, 'w' => int, 'h' => int, 'zoom' => int, 'scale' => int];