Class: Vk::API::Video::Methods::Report
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::Report
- Defined in:
- lib/vk/api/video/methods/report.rb
Overview
Reports (submits a complaint about) a video.
Arguments collapse
-
#comment ⇒ String
Comment describing the complaint.
-
#owner_id ⇒ Integer
ID of the user or community that owns the video.
-
#reason ⇒ Integer
Reason for the complaint:; '0' – spam; '1' – child pornography; '2' – extremism; '3' – violence; '4' – drug propaganda; '5' – adult material; '6' – insult; abuse.
-
#search_query ⇒ String
(If the video was found in search results.) Search query string.
-
#video_id ⇒ Integer
Video ID.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Video::Methods::Report constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Video::Methods::Report
|
# File 'lib/vk/api/video/methods/report.rb', line 15
|
Instance Method Details
#comment ⇒ String
Returns Comment describing the complaint.
33 |
# File 'lib/vk/api/video/methods/report.rb', line 33 attribute :comment, API::Types::Coercible::String.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the video.
27 |
# File 'lib/vk/api/video/methods/report.rb', line 27 attribute :owner_id, API::Types::Coercible::Int |
#reason ⇒ Integer
Returns Reason for the complaint:; '0' – spam; '1' – child pornography; '2' – extremism; '3' – violence; '4' – drug propaganda; '5' – adult material; '6' – insult; abuse.
31 |
# File 'lib/vk/api/video/methods/report.rb', line 31 attribute :reason, API::Types::Coercible::Int.optional.default(nil) |