ProximityAlertTriggered

data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Long) : TelegramModel

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

Constructors

ProximityAlertTriggered
Link copied to clipboard
fun ProximityAlertTriggered(traveler: User, watcher: User, distance: Long)

Properties

distance
Link copied to clipboard
val distance: Long
The distance between the users
traveler
Link copied to clipboard
val traveler: User
User that triggered the alert
watcher
Link copied to clipboard
val watcher: User
User that set the alert