Class: Telegrammer::DataTypes::Location
- Defined in:
- lib/telegrammer/data_types/location.rb
Overview
Telegram Location data type
See more at core.telegram.org/bots/api#location
Instance Attribute Summary collapse
-
#latitude ⇒ Float
Latitude as defined by sender.
-
#longitude ⇒ Float
Longitude as defined by sender.
Instance Attribute Details
#latitude ⇒ Float
Latitude as defined by sender
9 10 11 |
# File 'lib/telegrammer/data_types/location.rb', line 9 def latitude @latitude end |
#longitude ⇒ Float
Longitude as defined by sender
9 10 11 |
# File 'lib/telegrammer/data_types/location.rb', line 9 def longitude @longitude end |