View Source ExTDLib.Method.GetMapThumbnailFile (ExTDLib v0.0.4)
Returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded. Returns object_ptr<File>.
| Name | Type | Description |
|---|---|---|
| location | location | Location of the map center. |
| zoom | number | Map zoom level; 13-20. |
| width | number | Map width in pixels before applying scale; 16-1024. |
| height | number | Map height in pixels before applying scale; 16-1024. |
| scale | number | Map scale; 1-3. |
| chat_id | string | Identifier of a chat in which the thumbnail will be shown. Use 0 if unknown. |
More details on telegram's documentation.