Class: FantasticRobot::Request::SendLocation
- Defined in:
- lib/fantastic_robot/request/send_location.rb
Overview
This object represents a sendLocation request
Instance Attribute Summary collapse
-
#chat_id ⇒ Object
Returns the value of attribute chat_id.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#reply_markup ⇒ Object
Returns the value of attribute reply_markup.
-
#reply_to_message_id ⇒ Object
Returns the value of attribute reply_to_message_id.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SendLocation
constructor
A new instance of SendLocation.
Methods inherited from Base
#attributes, #send_request, #to_h
Constructor Details
#initialize(attributes = {}) ⇒ SendLocation
Returns a new instance of SendLocation.
12 13 14 15 |
# File 'lib/fantastic_robot/request/send_location.rb', line 12 def initialize(attributes = {}) super(attributes) @method = :sendLocation end |
Instance Attribute Details
#chat_id ⇒ Object
Returns the value of attribute chat_id.
5 6 7 |
# File 'lib/fantastic_robot/request/send_location.rb', line 5 def chat_id @chat_id end |
#latitude ⇒ Object
Returns the value of attribute latitude.
5 6 7 |
# File 'lib/fantastic_robot/request/send_location.rb', line 5 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
5 6 7 |
# File 'lib/fantastic_robot/request/send_location.rb', line 5 def longitude @longitude end |
#reply_markup ⇒ Object
Returns the value of attribute reply_markup.
5 6 7 |
# File 'lib/fantastic_robot/request/send_location.rb', line 5 def reply_markup @reply_markup end |
#reply_to_message_id ⇒ Object
Returns the value of attribute reply_to_message_id.
5 6 7 |
# File 'lib/fantastic_robot/request/send_location.rb', line 5 def @reply_to_message_id end |