Class: FantasticRobot::Request::ForwardMessage
- Defined in:
- lib/fantastic_robot/request/forward_message.rb
Overview
This object represents a forwardMessage request
Instance Attribute Summary collapse
-
#chat_id ⇒ Object
Returns the value of attribute chat_id.
-
#disable_web_page_preview ⇒ Object
Returns the value of attribute disable_web_page_preview.
-
#from_chat_id ⇒ Object
Returns the value of attribute from_chat_id.
-
#message_id ⇒ Object
Returns the value of attribute message_id.
-
#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 = {}) ⇒ ForwardMessage
constructor
A new instance of ForwardMessage.
Methods inherited from Base
#attributes, #send_request, #to_h
Constructor Details
#initialize(attributes = {}) ⇒ ForwardMessage
Returns a new instance of ForwardMessage.
13 14 15 16 |
# File 'lib/fantastic_robot/request/forward_message.rb', line 13 def initialize(attributes = {}) super(attributes) @method = :forwardMessage end |
Instance Attribute Details
#chat_id ⇒ Object
Returns the value of attribute chat_id.
5 6 7 |
# File 'lib/fantastic_robot/request/forward_message.rb', line 5 def chat_id @chat_id end |
#disable_web_page_preview ⇒ Object
Returns the value of attribute disable_web_page_preview.
5 6 7 |
# File 'lib/fantastic_robot/request/forward_message.rb', line 5 def disable_web_page_preview @disable_web_page_preview end |
#from_chat_id ⇒ Object
Returns the value of attribute from_chat_id.
5 6 7 |
# File 'lib/fantastic_robot/request/forward_message.rb', line 5 def from_chat_id @from_chat_id end |
#message_id ⇒ Object
Returns the value of attribute message_id.
5 6 7 |
# File 'lib/fantastic_robot/request/forward_message.rb', line 5 def end |
#reply_markup ⇒ Object
Returns the value of attribute reply_markup.
5 6 7 |
# File 'lib/fantastic_robot/request/forward_message.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/forward_message.rb', line 5 def end |