Raw.MessageMediaGeoLive

Raw.MessageMediaGeoLive

Indicates a live geolocation

messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int proximity_notification_radius:flags.1?int = MessageMedia;
export namespace Raw {
  export class MessageMediaGeoLive {
    constructor(params: {
      geo: Raw.TypeGeoPoint;
      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: 0xb940c666

Property

  • geo : Raw.TypeGeoPoint

    Geolocation

  • heading : number or undefined

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

  • period : number

    Validity period of provided geolocation

  • proximityNotificationRadius : number or undefined

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