Class: Vk::API::Newsfeed::Methods::GetRecommended
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Newsfeed::Methods::GetRecommended
- Defined in:
- lib/vk/api/newsfeed/methods/get_recommended.rb
Overview
; Returns a list of newsfeeds recommended to the current user.
Arguments collapse
-
#count ⇒ Integer
Number of news items to return.
-
#end_time ⇒ Integer
Latest timestamp (in Unix time) of a news item to return.
-
#fields ⇒ Array
Additional fields of and to return.
-
#max_photos ⇒ Integer
Maximum number of photos to return.
-
#start_from ⇒ String
'new_from' value obtained in previous call.
-
#start_time ⇒ Integer
Earliest timestamp (in Unix time) of a news item to return.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Newsfeed::Methods::GetRecommended
|
# File 'lib/vk/api/newsfeed/methods/get_recommended.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of news items to return.
36 |
# File 'lib/vk/api/newsfeed/methods/get_recommended.rb', line 36 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#end_time ⇒ Integer
Returns Latest timestamp (in Unix time) of a news item to return. By default, the current time.
30 |
# File 'lib/vk/api/newsfeed/methods/get_recommended.rb', line 30 attribute :end_time, API::Types::Coercible::Int.optional.default(nil) |
#fields ⇒ Array
Returns Additional fields of and to return.
38 |
# File 'lib/vk/api/newsfeed/methods/get_recommended.rb', line 38 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#max_photos ⇒ Integer
Returns Maximum number of photos to return. By default, '5'.
32 |
# File 'lib/vk/api/newsfeed/methods/get_recommended.rb', line 32 attribute :max_photos, API::Types::Coercible::Int.optional.default(nil) |