class Tourmaline::ProximityAlertTriggered
- Tourmaline::ProximityAlertTriggered
- Reference
- Object
Overview
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(traveler : Tourmaline::User, watcher : Tourmaline::User, distance : Int32 | Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#distance : Int32 | Int64
The distance between the users
-
#distance=(distance : Int32 | Int64)
The distance between the users
-
#traveler : Tourmaline::User
User that triggered the alert
-
#traveler=(traveler : Tourmaline::User)
User that triggered the alert
-
#watcher : Tourmaline::User
User that set the alert
-
#watcher=(watcher : Tourmaline::User)
User that set the alert