Raw.InputMediaGeoLive

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 undefined

    Whether sending of the geolocation was stopped

  • geoPoint : Raw.TypeInputGeoPoint

    Current geolocation

  • heading : number or undefined

    For live locations, a direction in which the location moves, in degrees; 1-360.

  • period : number or undefined

    Validity period of the current location

  • proximityNotificationRadius : number or undefined

    For live locations, a maximum distance to another chat member for proximity alerts, in meters (0-100000)