Class: Vk::API::Users::Methods::Report
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Users::Methods::Report
- Defined in:
- lib/vk/api/users/methods/report.rb
Overview
Reports (submits a complain about) a user.;
Arguments collapse
-
#comment ⇒ String
Comment describing the complaint.
-
#type ⇒ String
Type of complaint:; 'porn' – pornography; 'spam' – spamming; 'insult' – abusive behavior; 'advertisment' – disruptive advertisements.
-
#user_id ⇒ Integer
ID of the user about whom a complaint is being made.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Users::Methods::Report constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Users::Methods::Report
|
# File 'lib/vk/api/users/methods/report.rb', line 15
|
Instance Method Details
#comment ⇒ String
Returns Comment describing the complaint.
29 |
# File 'lib/vk/api/users/methods/report.rb', line 29 attribute :comment, API::Types::Coercible::String.optional.default(nil) |