Sha256: 74fd346a76569059d065f565a9ceb7eb2066fbd6ee079e0d35059aaf89655a85

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

Stored size: 774 Bytes

Contents

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

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      module Methods
        # With this method you can leave a group, public page, or event.; ;
        class Leave < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id ID or screen name of the community.
          #   @return [Groups::Methods::Leave]

          # @!group Arguments

          # @return [Integer] ID or screen name of the community.
          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/groups/methods/leave.rb