Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>ProximityAlertTriggered

Hydration plugin for API calls and context objects.
Latest
interface ProximityAlertTriggered
import { type ProximityAlertTriggered } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.ts";

This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.

Properties

traveler: User

User that triggered the alert

watcher: User

User that set the alert

distance: number

The distance between the users