Class: Vk::API::Photos::Methods::GetAllComments
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::GetAllComments
- Defined in:
- lib/vk/api/photos/methods/get_all_comments.rb
Overview
Returns a list of comments on a specific photo album or all albums of the user sorted in reverse chronological order.
Arguments collapse
-
#album_id ⇒ Integer
Album ID.
-
#count ⇒ Integer
Number of comments to return.
-
#need_likes ⇒ Boolean
'1' — to return an additional 'likes' field; '0' — (default).
-
#offset ⇒ Integer
Offset needed to return a specific subset of comments.
-
#owner_id ⇒ Integer
ID of the user or community that owns the album(s).
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::GetAllComments
|
# File 'lib/vk/api/photos/methods/get_all_comments.rb', line 15
|
Instance Method Details
#album_id ⇒ Integer
Returns Album ID. If the parameter is not set, comments on all of the user's albums will be returned.
29 |
# File 'lib/vk/api/photos/methods/get_all_comments.rb', line 29 attribute :album_id, API::Types::Coercible::Int.optional.default(nil) |
#count ⇒ Integer
Returns Number of comments to return. By default, '20'. Maximum value, '100'.
35 |
# File 'lib/vk/api/photos/methods/get_all_comments.rb', line 35 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#need_likes ⇒ Boolean
Returns '1' — to return an additional 'likes' field; '0' — (default).
31 |
# File 'lib/vk/api/photos/methods/get_all_comments.rb', line 31 attribute :need_likes, API::Types::Form::Bool.optional.default(nil) |