Class: FantasticRobot::Request::SendSticker
- Defined in:
- lib/fantastic_robot/request/send_sticker.rb
Overview
This object represents a sendSticker request
Constant Summary collapse
- MAX_FILE_SIZE =
50*1024*1024
Instance Attribute Summary collapse
-
#chat_id ⇒ Object
Returns the value of attribute chat_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.
-
#sticker ⇒ Object
Returns the value of attribute sticker.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ SendSticker
constructor
A new instance of SendSticker.
Methods inherited from Base
#attributes, #send_request, #to_h
Constructor Details
#initialize(attributes = {}) ⇒ SendSticker
Returns a new instance of SendSticker.
13 14 15 16 |
# File 'lib/fantastic_robot/request/send_sticker.rb', line 13 def initialize(attributes = {}) super(attributes) @method = :sendSticker end |
Instance Attribute Details
#chat_id ⇒ Object
Returns the value of attribute chat_id.
7 8 9 |
# File 'lib/fantastic_robot/request/send_sticker.rb', line 7 def chat_id @chat_id end |
#reply_markup ⇒ Object
Returns the value of attribute reply_markup.
7 8 9 |
# File 'lib/fantastic_robot/request/send_sticker.rb', line 7 def reply_markup @reply_markup end |
#reply_to_message_id ⇒ Object
Returns the value of attribute reply_to_message_id.
7 8 9 |
# File 'lib/fantastic_robot/request/send_sticker.rb', line 7 def end |
#sticker ⇒ Object
Returns the value of attribute sticker.
7 8 9 |
# File 'lib/fantastic_robot/request/send_sticker.rb', line 7 def sticker @sticker end |