Class: Vk::API::Newsfeed::Methods::GetSuggestedSources
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Newsfeed::Methods::GetSuggestedSources
- Defined in:
- lib/vk/api/newsfeed/methods/get_suggested_sources.rb
Overview
Returns communities and users that current user is suggested to follow.
Arguments collapse
-
#count ⇒ Integer
Amount of communities or users to return.
-
#fields ⇒ Array
List of extra fields to be returned.
-
#offset ⇒ Integer
Offset required to choose a particular subset of communities or users.
-
#shuffle ⇒ Boolean
Shuffle the returned list or not.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Newsfeed::Methods::GetSuggestedSources
|
# File 'lib/vk/api/newsfeed/methods/get_suggested_sources.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns amount of communities or users to return.
28 |
# File 'lib/vk/api/newsfeed/methods/get_suggested_sources.rb', line 28 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#fields ⇒ Array
Returns list of extra fields to be returned. See and .
32 |
# File 'lib/vk/api/newsfeed/methods/get_suggested_sources.rb', line 32 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |