Class: Vk::API::Groups::Methods::SetCallbackServerSettings

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/groups/methods/set_callback_server_settings.rb

Overview

Allow to set server settings.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Groups::Methods::SetCallbackServerSettings

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :secret_key (String)

    Callback API secret key.



# File 'lib/vk/api/groups/methods/set_callback_server_settings.rb', line 15

Instance Method Details

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.



24
# File 'lib/vk/api/groups/methods/set_callback_server_settings.rb', line 24

attribute :group_id, API::Types::Coercible::Int

#secret_keyString

Returns Callback API secret key.

Returns:

  • (String)

    Callback API secret key.



26
# File 'lib/vk/api/groups/methods/set_callback_server_settings.rb', line 26

attribute :secret_key, API::Types::Coercible::String.optional.default(nil)