class aiogram.types.proximity_alert_triggered.ProximityAlertTriggered(*, traveler: User, watcher: User, distance: int, **extra_data: Any)[source]#

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


traveler: User#

User that triggered the alert

watcher: User#

User that set the alert

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.

distance: int#

The distance between the users