Class: Vk::API::Groups::Methods::DeleteLink

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

Overview

Allows to delete a link from the community.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :link_id (Integer)

    LInk ID.


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

Instance Method Details

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.


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

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

Returns LInk ID.

Returns:

  • (Integer)

    LInk ID.


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

attribute :link_id, API::Types::Coercible::Int