Layer 224
InputWebFileGeoPointLocation
Used to download a server-generated image with the map preview from a geo Point, see the webfile docs for more info.
constructor
inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation;
Parameters
| Name | Type | Description |
|---|---|---|
| GeoPoint | InputGeoPoint | Generated from the lat, long and accuracy_radius parameters of the geo Point |
| AccessHash | long | Access hash of the geo Point |
| W | int | Map width in pixels before applying scale; 16-1024 |
| H | int | Map height in pixels before applying scale; 16-1024 |
| Zoom | int | Map zoom level; 13-20 |
| Scale | int | Map scale; 1-3 |
Returns
InputWebFileLocationGogram Example
// Creating InputWebFileGeoPointLocation constructor obj := &tg.InputWebFileGeoPointLocation{ GeoPoint: &tg.InputGeoPoint{Lat: 40.7128, Long: -74.0060}, AccessHash: int64(1234567890), W: 42, H: 42, Zoom: 42, Scale: 42, }