Sha256: 4a8418f3ec63aaa7466b8bb5612f45589b2821c3b2b14a4beda3c27261184a50

Contents?: true

Size: 959 Bytes

Versions: 1

Compression:

Stored size: 959 Bytes

Contents

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

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      module Methods
        # Allow to set  server settings.
        class SetCallbackServerSettings < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id Community ID.
          #   @option arguments [String] :secret_key Callback API secret key.
          #   @return [Groups::Methods::SetCallbackServerSettings]

          # @!group Arguments

          # @return [Integer] Community ID.
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [String] Callback API secret key.
          attribute :secret_key, 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/set_callback_server_settings.rb