Class TdApi.InputPageBlockMap

Enclosing class:
TdApi

public static class TdApi.InputPageBlockMap extends TdApi.InputPageBlock
A map. The map's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.
  • Field Details

    • location

      public TdApi.Location location
      Location of the map center.
    • zoom

      public int zoom
      Map zoom level; 0-24.
    • width

      public int width
      Map width; 0-10000.
    • height

      public int height
      Map height; 0-10000.
    • caption

      public TdApi.PageBlockCaption caption
      Block caption; pass null if none.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR