Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_types/mod.ts>ProximityAlertTriggered

Type declarations of the Telegram Bot API.
Go to Latest
interface ProximityAlertTriggered
import { type ProximityAlertTriggered } from "https://deno.land/x/grammy_types@v3.6.1/mod.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