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

#height ⇒ Integer

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)

#id ⇒ Integer

Returns Sticker ID.

Returns:

  • (Integer) —

    Sticker ID



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

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

#photo_128 ⇒ String

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_256 ⇒ String

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_352 ⇒ String

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_64 ⇒ String

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_id ⇒ Integer

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)

#width ⇒ Integer

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)