Raw.InputWebFileGeoPointLocation

Raw.InputWebFileGeoPointLocation

Used to download a server-generated image with the map preview from a geopoint, see the webfile docs for more info.

inputWebFileGeoPointLocation#9f2221c9 geo_point:InputGeoPoint access_hash:long w:int h:int zoom:int scale:int = InputWebFileLocation;
export namespace Raw {
  export class InputWebFileGeoPointLocation {
    constructor(params: {
      geoPoint: Raw.TypeInputGeoPoint;
      accessHash: bigint;
      w: number;
      h: number;
      zoom: number;
      scale: number;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x9f2221c9

Property

  • geoPoint : Raw.TypeInputGeoPoint

    Generated from the lat, long and accuracyRadius parameters of the geopoint

  • accessHash : bigint

    Access hash of the geopoint

  • w : number

    Map width in pixels before applying scale; 16-1024

  • h : number

    Map height in pixels before applying scale; 16-1024

  • zoom : number

    Map zoom level; 13-20

  • scale : number

    Map scale; 1-3