Class: TD::Types::MessageContent::ProximityAlertTriggered
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::ProximityAlertTriggered
- Defined in:
- lib/tdlib/types/message_content/proximity_alert_triggered.rb
Overview
A user in the chat came within proximity alert range.
Instance Attribute Summary collapse
-
#distance ⇒ Integer
The distance between the users.
-
#traveler ⇒ TD::Types::MessageSender
The user or chat, which triggered the proximity alert.
-
#watcher ⇒ TD::Types::MessageSender
The user or chat, which subscribed for the proximity alert.
Method Summary
Methods inherited from Base
Instance Attribute Details
#distance ⇒ Integer
The distance between the users.
7 8 9 |
# File 'lib/tdlib/types/message_content/proximity_alert_triggered.rb', line 7 def distance @distance end |
#traveler ⇒ TD::Types::MessageSender
The user or chat, which triggered the proximity alert.
7 8 9 |
# File 'lib/tdlib/types/message_content/proximity_alert_triggered.rb', line 7 def traveler @traveler end |
#watcher ⇒ TD::Types::MessageSender
The user or chat, which subscribed for the proximity alert.
7 8 9 |
# File 'lib/tdlib/types/message_content/proximity_alert_triggered.rb', line 7 def watcher @watcher end |