Sha256: bafa9ba099a04dd01210e1067dd857cff65c6e7c33d9b4212ee4c42a529e2efd

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

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

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      module Methods
        # Returns a list of invitations to join communities and events.; ;
        class GetInvites < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'groups.getInvites'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :offset Offset needed to return a specific subset of invitations.
          #   @option arguments [Integer] :count Number of invitations to return.
          #   @option arguments [Boolean] :extended '1' — to return additional  for communities..
          #   @return [Groups::Methods::GetInvites]

          # @!group Arguments

          # @return [Integer] Offset needed to return a specific subset of invitations.
          attribute :offset, API::Types::Coercible::Int.optional
          # @return [Integer] Number of invitations to return.
          attribute :count, API::Types::Coercible::Int.optional
          # @return [Boolean] '1' — to return additional  for communities..
          attribute :extended, API::Types::Bool.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_invites.rb