Class: Vk::API::Photos::Methods::GetAlbumsCount
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Photos::Methods::GetAlbumsCount
- Defined in:
- lib/vk/api/photos/methods/get_albums_count.rb
Overview
Returns the number of photo albums belonging to a user or community.
Arguments collapse
-
#group_id ⇒ Integer
Community ID.
-
#user_id ⇒ Integer
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Photos::Methods::GetAlbumsCount
|
# File 'lib/vk/api/photos/methods/get_albums_count.rb', line 15
|
Instance Method Details
#group_id ⇒ Integer
Returns Community ID.
26 |
# File 'lib/vk/api/photos/methods/get_albums_count.rb', line 26 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#user_id ⇒ Integer
Returns User ID.
24 |
# File 'lib/vk/api/photos/methods/get_albums_count.rb', line 24 attribute :user_id, API::Types::Coercible::Int.optional.default(nil) |