GetMapThumbnailFile class

Inheritance

Constructors

GetMapThumbnailFile({Location location, int zoom, int width, int height, int scale, 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. location Location of the map center . zoom Map zoom level; 13-20 . width Map width in pixels before applying scale; 16-1024 . height Map height in pixels before applying scale; 16-1024 . scale Map scale; 1-3 . chatId Identifier of a chat, in which the thumbnail will be shown. Use 0 if unknown
GetMapThumbnailFile.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
read / write
constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
height int
read / write
location Location
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scale int
read / write
width int
read / write
zoom int
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"getMapThumbnailFile"