Class: FantasticRobot::Model::Attachment::Sticker

Inherits:
Base
  • Object
show all
Defined in:
lib/fantastic_robot/model/attachment/sticker.rb

Overview

This object represents a sticker.

Constant Summary collapse

FIELD_CONVERSIONS =

Field conversions of this model

{
  thumb: FantasticRobot::Model::Attachment::PhotoSize
}

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#get_file

Methods inherited from Base

#attributes, #initialize, #to_h

Constructor Details

This class inherits a constructor from FantasticRobot::Model::Base

Instance Attribute Details

#file_idObject

Returns the value of attribute file_id.



5
6
7
# File 'lib/fantastic_robot/model/attachment/sticker.rb', line 5

def file_id
  @file_id
end

#file_sizeObject

Returns the value of attribute file_size.



5
6
7
# File 'lib/fantastic_robot/model/attachment/sticker.rb', line 5

def file_size
  @file_size
end

#heightObject

Returns the value of attribute height.



5
6
7
# File 'lib/fantastic_robot/model/attachment/sticker.rb', line 5

def height
  @height
end

#thumbObject

Returns the value of attribute thumb.



5
6
7
# File 'lib/fantastic_robot/model/attachment/sticker.rb', line 5

def thumb
  @thumb
end

#widthObject

Returns the value of attribute width.



5
6
7
# File 'lib/fantastic_robot/model/attachment/sticker.rb', line 5

def width
  @width
end