Sha256: dc14fdb5ceb689090a8d04c91bfbbf18391a9199db73bab7d553a551381c9404

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

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

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      module Methods
        # Returns information about communities by their IDs.
        class GetById < Schema::Method
          # @!group Properties

          self.open = true
          self.method = 'groups.getById'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Array] :group_ids IDs or screen names of communities.
          #   @option arguments [String] :group_id ID or screen name of the community.
          #   @option arguments [Array] :fields Group fields to return.;
          #   @return [Groups::Methods::GetById]

          # @!group Arguments

          # @return [Array] IDs or screen names of communities.
          attribute :group_ids, API::Types::Coercible::Array.optional
          # @return [String] ID or screen name of the community.
          attribute :group_id, API::Types::Coercible::String.optional
          # @return [Array] Group fields to return.;
          attribute :fields, API::Types::Coercible::Array.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/groups/methods/get_by_id.rb