Class: Vk::API::Newsfeed::Methods::SaveList
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Newsfeed::Methods::SaveList
- Defined in:
- lib/vk/api/newsfeed/methods/save_list.rb
Overview
Creates and edits user newsfeed lists
Arguments collapse
-
#list_id ⇒ Integer
Numeric list identifier (if not sent, will be set automatically).
-
#no_reposts ⇒ Boolean
Reposts display on and off ('1' is for off).
-
#source_ids ⇒ Array
Users and communities identifiers to be added to the list.
-
#title ⇒ String
List name.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Newsfeed::Methods::SaveList
|
# File 'lib/vk/api/newsfeed/methods/save_list.rb', line 15
|
Instance Method Details
#list_id ⇒ Integer
Returns numeric list identifier (if not sent, will be set automatically).
26 |
# File 'lib/vk/api/newsfeed/methods/save_list.rb', line 26 attribute :list_id, API::Types::Coercible::Int.optional.default(nil) |
#no_reposts ⇒ Boolean
Returns reposts display on and off ('1' is for off).
32 |
# File 'lib/vk/api/newsfeed/methods/save_list.rb', line 32 attribute :no_reposts, API::Types::Form::Bool.optional.default(nil) |
#source_ids ⇒ Array
Returns users and communities identifiers to be added to the list. Community identifiers must be negative numbers.
30 |
# File 'lib/vk/api/newsfeed/methods/save_list.rb', line 30 attribute :source_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).optional.default(nil) |