Class: Vk::API::Base::Sticker

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/base/sticker.rb

Overview

Instance Method Summary collapse

Instance Method Details

#heightInteger

Returns Hieght in px.

Returns:

  • (Integer)

    Hieght in px


25
# File 'lib/vk/api/base/sticker.rb', line 25

attribute :height, API::Types::Coercible::Int.optional.default(nil)

#idInteger

Returns Sticker ID.

Returns:

  • (Integer)

    Sticker ID


11
# File 'lib/vk/api/base/sticker.rb', line 11

attribute :id, API::Types::Coercible::Int

#photo_128String

Returns URL of the preview image with 128 px in height.

Returns:

  • (String)

    URL of the preview image with 128 px in height


17
# File 'lib/vk/api/base/sticker.rb', line 17

attribute :photo_128, API::Types::Coercible::String.optional.default(nil)

#photo_256String

Returns URL of the preview image with 256 px in height.

Returns:

  • (String)

    URL of the preview image with 256 px in height


19
# File 'lib/vk/api/base/sticker.rb', line 19

attribute :photo_256, API::Types::Coercible::String.optional.default(nil)

#photo_352String

Returns URL of the preview image with 352 px in height.

Returns:

  • (String)

    URL of the preview image with 352 px in height


21
# File 'lib/vk/api/base/sticker.rb', line 21

attribute :photo_352, API::Types::Coercible::String.optional.default(nil)

#photo_64String

Returns URL of the preview image with 64 px in height.

Returns:

  • (String)

    URL of the preview image with 64 px in height


15
# File 'lib/vk/api/base/sticker.rb', line 15

attribute :photo_64, API::Types::Coercible::String.optional.default(nil)

#product_idInteger

Returns Collection ID.

Returns:

  • (Integer)

    Collection ID


13
# File 'lib/vk/api/base/sticker.rb', line 13

attribute :product_id, API::Types::Coercible::Int.optional.default(nil)

#widthInteger

Returns Width in px.

Returns:

  • (Integer)

    Width in px


23
# File 'lib/vk/api/base/sticker.rb', line 23

attribute :width, API::Types::Coercible::Int.optional.default(nil)