Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/3_functions.ts>contacts_getLocated_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class contacts_getLocated_
extends Function_<enums.Updates>
import { contacts_getLocated_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

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

Constructors

new
contacts_getLocated_(params: { background?: true; geo_point: enums.InputGeoPoint; self_expires?: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
background: true

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.

geo_point: enums.InputGeoPoint

Geolocation

optional
self_expires: number

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.

Static Properties

__F: (params: { background?: true; geo_point: enums.InputGeoPoint; self_expires?: number; }) => enums.Updates
readonly
[name]: string
readonly
[paramDesc]: ParamDesc