Class: FantasticRobot::Request::ForwardMessage

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

Overview

This object represents a forwardMessage 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 = {}) ⇒ 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_idObject

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_previewObject

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_idObject

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_idObject

Returns the value of attribute message_id.



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

def message_id
  @message_id
end

#reply_markupObject

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_idObject

Returns the value of attribute reply_to_message_id.



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

def reply_to_message_id
  @reply_to_message_id
end