mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.6 KiB
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
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];