Raw.MessageActionGeoProximityReached

Raw.MessageActionGeoProximityReached

A user of the chat is now in proximity of another user

messageActionGeoProximityReached#98e0d697 from_id:Peer to_id:Peer distance:int = MessageAction;
export namespace Raw {
  export class MessageActionGeoProximityReached {
    constructor(params: { fromId: Raw.TypePeer; toId: Raw.TypePeer; distance: number }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x98e0d697

Property

  • fromId : Raw.TypePeer

    The user or chat that is now in proximity of toId

  • toId : Raw.TypePeer

    The user or chat that subscribed to live geolocation proximity alerts

  • distance : number

    Distance, in meters (0-100000)