public static class TdApi.GetMapThumbnailFile extends TdApi.Function
Returns File
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Identifier of a chat, in which the thumbnail will be shown.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
height
Map height in pixels before applying scale; 16-1024.
|
TdApi.Location |
location
Location of the map center.
|
int |
scale
Map scale; 1-3.
|
int |
width
Map width in pixels before applying scale; 16-1024.
|
int |
zoom
Map zoom level; 13-20.
|
Constructor and Description |
---|
GetMapThumbnailFile()
Default constructor for a function, which returns information about a file with a map thumbnail in PNG format.
|
GetMapThumbnailFile(TdApi.Location location,
int zoom,
int width,
int height,
int scale,
long chatId)
Creates a function, which returns information about a file with a map thumbnail in PNG format.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public TdApi.Location location
public int zoom
public int width
public int height
public int scale
public long chatId
public static final int CONSTRUCTOR
public GetMapThumbnailFile()
Returns File
public GetMapThumbnailFile(TdApi.Location location, int zoom, int width, int height, int scale, long chatId)
Returns File
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.public int getConstructor()
getConstructor
in class TdApi.Function