Class: Vk::API::Photos::Methods::GetUserPhotos
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::GetUserPhotos
- Defined in:
- lib/vk/api/photos/methods/get_user_photos.rb
Overview
Returns a list of photos in which a user is tagged.
Arguments collapse
-
#count ⇒ Integer
Number of photos to return.
-
#extended ⇒ Boolean
'1' — to return an additional 'likes' field; '0' — (default).
-
#offset ⇒ Integer
Offset needed to return a specific subset of photos.
-
#sort ⇒ String
Sort order:; '1' — by date the tag was added in ascending order; '0' — by date the tag was added in descending order.
-
#user_id ⇒ Integer
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::GetUserPhotos
|
# File 'lib/vk/api/photos/methods/get_user_photos.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of photos to return. Maximum value is 100.
31 |
# File 'lib/vk/api/photos/methods/get_user_photos.rb', line 31 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#extended ⇒ Boolean
Returns '1' — to return an additional 'likes' field; '0' — (default).
33 |
# File 'lib/vk/api/photos/methods/get_user_photos.rb', line 33 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of photos. By default, '0'.
29 |
# File 'lib/vk/api/photos/methods/get_user_photos.rb', line 29 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |