GetMapThumbnailFile constructor

const GetMapThumbnailFile({
  1. required Location location,
  2. required int zoom,
  3. required int width,
  4. required int height,
  5. required int scale,
  6. required int chatId,
})

Returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded

Implementation

const GetMapThumbnailFile({
  required this.location,
  required this.zoom,
  required this.width,
  required this.height,
  required this.scale,
  required this.chatId,
});