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>.

NameTypeDescription
locationlocationLocation of the map center.
zoomnumberMap zoom level; 13-20.
widthnumberMap width in pixels before applying scale; 16-1024.
heightnumberMap height in pixels before applying scale; 16-1024.
scalenumberMap scale; 1-3.
chat_idstringIdentifier of a chat in which the thumbnail will be shown. Use 0 if unknown.

More details on telegram's documentation.