Class: Vk::API::Newsfeed::Methods::AddBan

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/newsfeed/methods/add_ban.rb

Overview

Prevents news from specified users and communities from appearing in the current user's newsfeed.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Newsfeed::Methods::AddBan

Parameters:

  • arguments (Hash)

Options Hash (arguments):



# File 'lib/vk/api/newsfeed/methods/add_ban.rb', line 15

Instance Method Details

#group_idsArray



26
# File 'lib/vk/api/newsfeed/methods/add_ban.rb', line 26

attribute :group_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).optional.default(nil)

#user_idsArray



24
# File 'lib/vk/api/newsfeed/methods/add_ban.rb', line 24

attribute :user_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).optional.default(nil)