2019-06-23 13:07:51 +02:00
|
|
|
---
|
|
|
|
title: inputWebFileGeoPointLocation
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Geolocation
|
2019-06-23 13:07:51 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: inputWebFileGeoPointLocation
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Geolocation
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional|Geolocation|
|
2019-06-23 13:07:51 +02:00
|
|
|
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
2019-12-27 17:48:04 +01:00
|
|
|
|w|[int](../types/int.md) | Yes|Map width in pixels before applying scale; 16-1024|
|
|
|
|
|h|[int](../types/int.md) | Yes|Map height in pixels before applying scale; 16-1024|
|
|
|
|
|zoom|[int](../types/int.md) | Yes|Map zoom level; 13-20|
|
|
|
|
|scale|[int](../types/int.md) | Yes|Map scale; 1-3|
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputWebFileLocation](../types/InputWebFileLocation.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```php
|
|
|
|
$inputWebFileGeoPointLocation = ['_' => 'inputWebFileGeoPointLocation', 'geo_point' => InputGeoPoint, 'access_hash' => long, 'w' => int, 'h' => int, 'zoom' => int, 'scale' => int];
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Or, if you're into Lua:
|
|
|
|
|
|
|
|
```lua
|
|
|
|
inputWebFileGeoPointLocation={_='inputWebFileGeoPointLocation', geo_point=InputGeoPoint, access_hash=long, w=int, h=int, zoom=int, scale=int}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|