Sha256: c385a6d9a7da629265138794a400c3809bebcd24372de45e1d119d2a74035dc2

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Newsfeed < Vk::Schema::Namespace
      module Methods
        # Prevents news from specified users and communities from appearing in the current user's newsfeed.
        class AddBan < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'newsfeed.addBan'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Array] :user_ids @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          #   @option arguments [Array] :group_ids @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          #   @return [Newsfeed::Methods::AddBan]

          # @!group Arguments

          # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          attribute :user_ids, API::Types::Coercible::Array.optional
          # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
          attribute :group_ids, API::Types::Coercible::Array.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/newsfeed/methods/add_ban.rb