Class: FantasticRobot::Request::SendSticker

Inherits:
Base
  • Object
show all
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

Attributes inherited from Base

#method

Instance Method Summary collapse

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_idObject

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_markupObject

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_idObject

Returns the value of attribute reply_to_message_id.



7
8
9
# File 'lib/fantastic_robot/request/send_sticker.rb', line 7

def reply_to_message_id
  @reply_to_message_id
end

#stickerObject

Returns the value of attribute sticker.



7
8
9
# File 'lib/fantastic_robot/request/send_sticker.rb', line 7

def sticker
  @sticker
end