Interface GetMapThumbnailFile

Returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded. Request type for Tdjson#getMapThumbnailFile.

interface GetMapThumbnailFile {
    @type: "getMapThumbnailFile";
    chat_id: number;
    height: number;
    location: Location;
    scale: number;
    width: number;
    zoom: number;
}

Properties

@type: "getMapThumbnailFile"
chat_id: number

Identifier of a chat in which the thumbnail will be shown. Use 0 if unknown.

height: number

Map height in pixels before applying scale; 16-1024.

location: Location

Location of the map center.

scale: number

Map scale; 1-3.

width: number

Map width in pixels before applying scale; 16-1024.

zoom: number

Map zoom level; 13-20.