Interface MessageProximityAlertTriggered

A user in the chat came within proximity alert range. Subtype of MessageContent.

interface MessageProximityAlertTriggered {
    @type: "messageProximityAlertTriggered";
    distance: number;
    traveler_id: MessageSender;
    watcher_id: MessageSender;
}

Properties

@type: "messageProximityAlertTriggered"
distance: number

The distance between the users.

traveler_id: MessageSender

The identifier of a user or chat that triggered the proximity alert.

watcher_id: MessageSender

The identifier of a user or chat that subscribed for the proximity alert.