Class: Vk::API::Market::Methods::ReportComment
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Market::Methods::ReportComment
- Defined in:
- lib/vk/api/market/methods/report_comment.rb
Overview
Sends a complaint to the item's comment.
Arguments collapse
-
#comment_id ⇒ Integer
Comment ID.
-
#owner_id ⇒ Integer
ID of an item owner community.
-
#reason ⇒ Integer
Complaint reason.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Market::Methods::ReportComment
|
# File 'lib/vk/api/market/methods/report_comment.rb', line 15
|
Instance Method Details
#comment_id ⇒ Integer
Returns Comment ID.
27 |
# File 'lib/vk/api/market/methods/report_comment.rb', line 27 attribute :comment_id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns ID of an item owner community.
25 |
# File 'lib/vk/api/market/methods/report_comment.rb', line 25 attribute :owner_id, API::Types::Coercible::Int |
#reason ⇒ Integer
Returns Complaint reason. Possible values:; *'0' — spam;; *'1' — child porn;; *'2' — extremism;; *'3' — violence;; *'4' — drugs propaganda;; *'5' — adult materials;; *'6' — insult.
29 |
# File 'lib/vk/api/market/methods/report_comment.rb', line 29 attribute :reason, API::Types::Coercible::Int.enum(0, 1, 2, 3, 4, 5, 6) |