Class: Vk::API::Video::Methods::Add
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::Add
- Defined in:
- lib/vk/api/video/methods/add.rb
Overview
Adds a video to a user or community page.
Arguments collapse
-
#owner_id ⇒ Integer
ID of the user or community that owns the video.; Use a negative value to designate a community ID.
-
#target_id ⇒ Integer
Identifier of a user or community to add a video to.; Use a negative value to designate a community ID.
-
#video_id ⇒ Integer
Video ID.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Video::Methods::Add constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#owner_id ⇒ Integer
Returns ID of the user or community that owns the video.; Use a negative value to designate a community ID.
29 |
# File 'lib/vk/api/video/methods/add.rb', line 29 attribute :owner_id, API::Types::Coercible::Int |