Class: Vk::API::Widgets::CommentMedia
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Widgets::CommentMedia
- Defined in:
- lib/vk/api/widgets/comment_media.rb
Overview
Instance Method Summary collapse
-
#item_id ⇒ Integer
Media item ID.
-
#owner_id ⇒ Integer
Media owner's ID.
-
#thumb_src ⇒ String
URL of the preview image (type=photo only).
-
#type ⇒ String
Media type.
Instance Method Details
#item_id ⇒ Integer
Returns Media item ID.
15 |
# File 'lib/vk/api/widgets/comment_media.rb', line 15 attribute :item_id, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns Media owner's ID.
13 |
# File 'lib/vk/api/widgets/comment_media.rb', line 13 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |