Sha256: 899a03839151dcbd082ce7b6f00809059df1c918347589fdfe55979c7e8dc72f
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Photos < Vk::Schema::Namespace module Methods # Reports (submits a complaint about) a comment on a photo.; class ReportComment < Schema::Method # @!group Properties self.open = false self.method = 'photos.reportComment' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [Integer] :owner_id ID of the user or community that owns the photo. # @option arguments [Integer] :comment_id ID of the comment being reported. # @option arguments [Integer] :reason Reason for the complaint:; '0' – spam; '1' – child pornography; '2' – extremism; '3' – violence; '4' – drug propaganda; '5' – adult material; '6' – insult; abuse # @return [Photos::Methods::ReportComment] # @!group Arguments # @return [Integer] ID of the user or community that owns the photo. attribute :owner_id, API::Types::Coercible::Int.optional # @return [Integer] ID of the comment being reported. attribute :comment_id, API::Types::Coercible::Int.optional # @return [Integer] Reason for the complaint:; '0' – spam; '1' – child pornography; '2' – extremism; '3' – violence; '4' – drug propaganda; '5' – adult material; '6' – insult; abuse attribute :reason, API::Types::Coercible::Int.optional end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vk-0.99.5.53.alpha | lib/vk/api/photos/methods/report_comment.rb |