Raw.contacts.GetLocated

Raw.contacts.GetLocated

Get users and geochats near you, see here for more info.

contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoPoint self_expires:flags.0?int = Updates;
export namespace Raw {
  export namespace contacts {
    export class GetLocated {
      constructor(params: {
        background?: boolean;
        geoPoint: Raw.TypeInputGeoPoint;
        selfExpires?: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0xd348bc44

Property

  • background : boolean or undefined

    While the geolocation of the current user is public, clients should update it in the background every half-an-hour or so, while setting this flag. do this only if the new location is more than 1 km away from the previous one, or if the previous location is unknown.

  • geoPoint : Raw.TypeInputGeoPoint

    Geolocation

  • selfExpires : number or undefined

    If set, the geolocation of the current user will be public for the specified number of seconds; pass 0x7fffffff to disable expiry, 0 to make the current geolocation private; if the flag isn’t set, no changes will be applied.

Results

Raw.TypeUpdates