Layer 220
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: 0.0, Long: 0.0}, AccessHash: int64(0), W: 0, H: 0, Zoom: 0, Scale: 0, }