GetMapThumbnailFile class

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

Inheritance
Available Extensions

Constructors

GetMapThumbnailFile({required Location location, required int zoom, required int width, required int height, required int scale, required int chat_id, int? extra, int? clientId})
Returns information about a file with a map thumbnail in PNG format. Only map thumbnail files with size less than 1MB can be downloaded

Properties

chat_id int
Identifier of a chat in which the thumbnail will be shown. Use 0 if unknown.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
height int
Map height in pixels before applying scale; 16-1024.
read / write
location Location
Location of the map center.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scale int
Map scale; 1-3.
read / write
width int
Map width in pixels before applying scale; 16-1024.
read / write
zoom int
Map zoom level; 13-20.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) GetMapThumbnailFile?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getMapThumbnailFile"