Sha256: 532b67749ea3f1a3205e76f9ebe6b6e4a4eebcb43d7a0e978c70f193ef1f8b74

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 KB

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 join the group or public page, and also confirm your participation in an event.
        class Join < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id ID or screen name of the community.
          #   @option arguments [String] :not_sure Optional parameter which is taken into account when 'gid' belongs to the event:; '1' — Perhaps I will attend; '0' — I will be there for sure (default); ;
          #   @return [Groups::Methods::Join]

          # @!group Arguments

          # @return [Integer] ID or screen name of the community.
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [String] Optional parameter which is taken into account when 'gid' belongs to the event:; '1' — Perhaps I will attend; '0' — I will be there for sure (default); ;
          attribute :not_sure, API::Types::Coercible::String.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/join.rb