Class: Telegram::Bot::Types::ProximityAlertTriggered
- Defined in:
- sig/telegram/bot/types/proximity_alert_triggered.rbs
Instance Attribute Summary collapse
-
#distance ⇒ Integer
readonly
Returns the value of attribute distance.
-
#traveler ⇒ User
readonly
Returns the value of attribute traveler.
-
#watcher ⇒ User
readonly
Returns the value of attribute watcher.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#distance ⇒ Integer (readonly)
Returns the value of attribute distance.
10 11 12 |
# File 'sig/telegram/bot/types/proximity_alert_triggered.rbs', line 10 def distance @distance end |
#traveler ⇒ User (readonly)
Returns the value of attribute traveler.
8 9 10 |
# File 'sig/telegram/bot/types/proximity_alert_triggered.rbs', line 8 def traveler @traveler end |
#watcher ⇒ User (readonly)
Returns the value of attribute watcher.
9 10 11 |
# File 'sig/telegram/bot/types/proximity_alert_triggered.rbs', line 9 def watcher @watcher end |
Class Method Details
.new(traveler:, watcher:, distance:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/proximity_alert_triggered.rbs', line 6
def self.new: (traveler: User, watcher: User, distance: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|