Class: Vk::API::Widgets::CommentMedia

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/widgets/comment_media.rb

Overview

Instance Method Summary collapse

Instance Method Details

#item_idInteger

Returns Media item ID.

Returns:

  • (Integer)

    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_idInteger

Returns Media owner's ID.

Returns:

  • (Integer)

    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)

#thumb_srcString

Returns URL of the preview image (type=photo only).

Returns:

  • (String)

    URL of the preview image (type=photo only)


17
# File 'lib/vk/api/widgets/comment_media.rb', line 17

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

#typeString

Returns Media type.

Returns:

  • (String)

    Media type


11
# File 'lib/vk/api/widgets/comment_media.rb', line 11

attribute :type, API::Types::Coercible::String.enum("audio", "photo", "video").optional.default(nil)