Class: Vk::API::Photos::Methods::GetAll
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::GetAll
- Defined in:
- lib/vk/api/photos/methods/get_all.rb
Overview
Returns a list of photos belonging to a user or community, in reverse chronological order.
Arguments collapse
-
#count ⇒ Integer
Number of photos to return.
-
#extended ⇒ Boolean
'1' — to return detailed information about photos.
-
#need_hidden ⇒ Boolean
'1' – to show information about photos being hidden from the block above the wall.
-
#no_service_albums ⇒ Boolean
'1' – to return photos only from standard albums; '0' – to return all photos including those in service albums, e.g., 'My wall photos' (default).
-
#offset ⇒ Integer
Offset needed to return a specific subset of photos.
-
#owner_id ⇒ Integer
ID of a user or community that owns the photos.; Use a negative value to designate a community ID.
-
#photo_sizes ⇒ Boolean
'1' – to return image sizes in .
-
#skip_hidden ⇒ Boolean
'1' – not to return photos being hidden from the block above the wall.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Photos::Methods::GetAll constructor
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::GetAll
|
# File 'lib/vk/api/photos/methods/get_all.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of photos to return.
36 |
# File 'lib/vk/api/photos/methods/get_all.rb', line 36 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#extended ⇒ Boolean
Returns '1' — to return detailed information about photos.
32 |
# File 'lib/vk/api/photos/methods/get_all.rb', line 32 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#need_hidden ⇒ Boolean
Returns '1' – to show information about photos being hidden from the block above the wall.
42 |
# File 'lib/vk/api/photos/methods/get_all.rb', line 42 attribute :need_hidden, API::Types::Form::Bool.optional.default(nil) |
#no_service_albums ⇒ Boolean
Returns '1' – to return photos only from standard albums; '0' – to return all photos including those in service albums, e.g., 'My wall photos' (default).
40 |
# File 'lib/vk/api/photos/methods/get_all.rb', line 40 attribute :no_service_albums, API::Types::Form::Bool.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of photos. By default, '0'.
34 |
# File 'lib/vk/api/photos/methods/get_all.rb', line 34 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns ID of a user or community that owns the photos.; Use a negative value to designate a community ID.
30 |
# File 'lib/vk/api/photos/methods/get_all.rb', line 30 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |