Package org.drinkless.tdlib
Class TdApi.InputPageBlockMap
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputPageBlock
org.drinkless.tdlib.TdApi.InputPageBlockMap
- Enclosing class:
- TdApi
A map. The map's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
-
Field Summary
FieldsModifier and TypeFieldDescriptionBlock caption; pass null if none.static final intIdentifier uniquely determining type of the object.intMap height; 0-10000.Location of the map center.intMap width; 0-10000.intMap zoom level; 0-24. -
Constructor Summary
ConstructorsConstructorDescriptionA map.InputPageBlockMap(TdApi.Location location, int zoom, int width, int height, TdApi.PageBlockCaption caption) A map. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
location
Location of the map center. -
zoom
public int zoomMap zoom level; 0-24. -
width
public int widthMap width; 0-10000. -
height
public int heightMap height; 0-10000. -
caption
Block caption; pass null if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputPageBlockMap
public InputPageBlockMap()A map. The map's width and height must not exceed 10000 in total. Width and height ratio must be at most 20. -
InputPageBlockMap
public InputPageBlockMap(TdApi.Location location, int zoom, int width, int height, TdApi.PageBlockCaption caption) A map. The map's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.- Parameters:
location- Location of the map center.zoom- Map zoom level; 0-24.width- Map width; 0-10000.height- Map height; 0-10000.caption- Block caption; pass null if none.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-