Sha256: 1fc042881c24411976482df26e79427cf18fa7279a09e1662df9a7d34b0606fe

Contents?: true

Size: 925 Bytes

Versions: 1

Compression:

Stored size: 925 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Photos < Vk::Schema::Namespace
      module Methods
        # Returns the number of photo albums belonging to a user or community.
        class GetAlbumsCount < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'photos.getAlbumsCount'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id User ID.
          #   @option arguments [Integer] :group_id Community ID.
          #   @return [Photos::Methods::GetAlbumsCount]

          # @!group Arguments

          # @return [Integer] User ID.
          attribute :user_id, API::Types::Coercible::Int.optional
          # @return [Integer] Community ID.
          attribute :group_id, API::Types::Coercible::Int.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/photos/methods/get_albums_count.rb