Raw.InputMediaGeoLive
Live geolocation
inputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint heading:flags.2?int period:flags.1?int proximity_notification_radius:flags.3?int = InputMedia;
export namespace Raw {
export class InputMediaGeoLive {
constructor(params: {
stopped?: boolean;
geoPoint: Raw.TypeInputGeoPoint;
heading?: number;
period?: number;
proximityNotificationRadius?: number;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x971fa843
Property
stopped
: boolean or undefinedWhether sending of the geolocation was stopped
geoPoint
: Raw.TypeInputGeoPointCurrent geolocation
heading
: number or undefinedFor live locations, a direction in which the location moves, in degrees; 1-360.
period
: number or undefinedValidity period of the current location
proximityNotificationRadius
: number or undefinedFor live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)