Class: FantasticRobot::Request::SendLocation

Inherits:
Base
  • Object
show all
Defined in:
lib/fantastic_robot/request/send_location.rb

Overview

This object represents a sendLocation request

Instance Attribute Summary collapse

Attributes inherited from Base

#method

Instance Method Summary collapse

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_idObject

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

#latitudeObject

Returns the value of attribute latitude.



5
6
7
# File 'lib/fantastic_robot/request/send_location.rb', line 5

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



5
6
7
# File 'lib/fantastic_robot/request/send_location.rb', line 5

def longitude
  @longitude
end

#reply_markupObject

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_idObject

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
  @reply_to_message_id
end