Class: Vk::API::Friends::Methods::EditList
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Friends::Methods::EditList
- Defined in:
- lib/vk/api/friends/methods/edit_list.rb
Overview
Edits a friend list of the current user.
Arguments collapse
-
#add_user_ids ⇒ Array
(Applies if 'user_ids' parameter is not set.); User IDs to add to the friend list.
-
#delete_user_ids ⇒ Array
(Applies if 'user_ids' parameter is not set.); User IDs to delete from the friend list.
-
#list_id ⇒ Integer
Friend list ID.
-
#name ⇒ String
Name of the friend list.
-
#user_ids ⇒ Array
IDs of users in the friend list.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Friends::Methods::EditList
|
# File 'lib/vk/api/friends/methods/edit_list.rb', line 15
|
Instance Method Details
#add_user_ids ⇒ Array
Returns (Applies if 'user_ids' parameter is not set.); User IDs to add to the friend list.
33 |
# File 'lib/vk/api/friends/methods/edit_list.rb', line 33 attribute :add_user_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).optional.default(nil) |
#delete_user_ids ⇒ Array
Returns (Applies if 'user_ids' parameter is not set.); User IDs to delete from the friend list.
35 |
# File 'lib/vk/api/friends/methods/edit_list.rb', line 35 attribute :delete_user_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).optional.default(nil) |
#list_id ⇒ Integer
Returns Friend list ID.
29 |
# File 'lib/vk/api/friends/methods/edit_list.rb', line 29 attribute :list_id, API::Types::Coercible::Int |