Sha256: a86f84b1e8b5dee72c3d7cf704444547f48da3ae53fa6cfb87474ee412e64e4d

Contents?: true

Size: 879 Bytes

Versions: 1

Compression:

Stored size: 879 Bytes

Contents

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

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      module Methods
        # Removes a user from the community.
        class RemoveUser < Schema::Method
          # @!group Properties

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

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

          # @!group Arguments

          # @return [Integer] Community ID.
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] User ID.
          attribute :user_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/groups/methods/remove_user.rb