Class: Vk::API::Video::Methods::ReportComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Video::Methods::ReportComment
- Defined in:
- lib/vk/api/video/methods/report_comment.rb
Overview
Reports (submits a complaint about) a comment on a video.;
Arguments collapse
-
#comment_id ⇒ Integer
ID of the comment being reported.
-
#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.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Video::Methods::ReportComment
|
# File 'lib/vk/api/video/methods/report_comment.rb', line 15
|
Instance Method Details
#comment_id ⇒ Integer
Returns ID of the comment being reported.
27 |
# File 'lib/vk/api/video/methods/report_comment.rb', line 27 attribute :comment_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns ID of the user or community that owns the video.
25 |
# File 'lib/vk/api/video/methods/report_comment.rb', line 25 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.
29 |
# File 'lib/vk/api/video/methods/report_comment.rb', line 29 attribute :reason, API::Types::Coercible::Int.optional.default(nil) |