Class: Vk::API::Base::Sticker
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Base::Sticker
- Defined in:
- lib/vk/api/base/sticker.rb
Overview
Instance Method Summary collapse
-
#height ⇒ Integer
Hieght in px.
-
#id ⇒ Integer
Sticker ID.
-
#photo_128 ⇒ String
URL of the preview image with 128 px in height.
-
#photo_256 ⇒ String
URL of the preview image with 256 px in height.
-
#photo_352 ⇒ String
URL of the preview image with 352 px in height.
-
#photo_64 ⇒ String
URL of the preview image with 64 px in height.
-
#product_id ⇒ Integer
Collection ID.
-
#width ⇒ Integer
Width in px.
Instance Method Details
#height ⇒ Integer
Returns 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.
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.
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.
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.
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.
15 |
# File 'lib/vk/api/base/sticker.rb', line 15 attribute :photo_64, API::Types::Coercible::String.optional.default(nil) |