Class: Telegram::Bot::Types::InputLocationMessageContent
- Defined in:
- sig/telegram/bot/types/input_location_message_content.rbs
Instance Attribute Summary collapse
-
#heading ⇒ Integer?
readonly
Returns the value of attribute heading.
-
#horizontal_accuracy ⇒ Float?
readonly
Returns the value of attribute horizontal_accuracy.
-
#latitude ⇒ Float
readonly
Returns the value of attribute latitude.
-
#live_period ⇒ Integer?
readonly
Returns the value of attribute live_period.
-
#longitude ⇒ Float
readonly
Returns the value of attribute longitude.
-
#proximity_alert_radius ⇒ Integer?
readonly
Returns the value of attribute proximity_alert_radius.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#heading ⇒ Integer? (readonly)
Returns the value of attribute heading.
12 13 14 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 12 def heading @heading end |
#horizontal_accuracy ⇒ Float? (readonly)
Returns the value of attribute horizontal_accuracy.
10 11 12 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 10 def horizontal_accuracy @horizontal_accuracy end |
#latitude ⇒ Float (readonly)
Returns the value of attribute latitude.
8 9 10 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 8 def latitude @latitude end |
#live_period ⇒ Integer? (readonly)
Returns the value of attribute live_period.
11 12 13 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 11 def live_period @live_period end |
#longitude ⇒ Float (readonly)
Returns the value of attribute longitude.
9 10 11 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 9 def longitude @longitude end |
#proximity_alert_radius ⇒ Integer? (readonly)
Returns the value of attribute proximity_alert_radius.
13 14 15 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 13 def proximity_alert_radius @proximity_alert_radius end |
Class Method Details
.new(latitude:, longitude:, horizontal_accuracy:, live_period:, heading:, proximity_alert_radius:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/input_location_message_content.rbs', line 6
def self.new: (latitude: Float, longitude: Float, ?horizontal_accuracy: Float, ?live_period: Integer, ?heading: Integer, ?proximity_alert_radius: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|