class ProximityAlertTriggered

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

Methods

__construct(User $traveler, User $watcher, int $distance)

No description

getTraveler()

User that triggered the alert.

getWatcher()

User that set the alert.

int
getDistance()

The distance between the users.

Details

at line 15
__construct(User $traveler, User $watcher, int $distance)

No description

Parameters

User $traveler
User $watcher
int $distance

at line 25
User getTraveler()

User that triggered the alert.

Return Value

User

at line 33
User getWatcher()

User that set the alert.

Return Value

User

at line 41
int getDistance()

The distance between the users.

Return Value

int