Class: Vk::API::Board::Methods::FixTopic

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/board/methods/fix_topic.rb

Overview

Pins a topic (fixes its place) to the top of a community's discussion board.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Board::Methods::FixTopic

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of the community that owns the discussion board.

  • :topic_id (Integer)

    Topic ID.



# File 'lib/vk/api/board/methods/fix_topic.rb', line 15

Instance Method Details

#group_idInteger

Returns ID of the community that owns the discussion board.

Returns:

  • (Integer)

    ID of the community that owns the discussion board.



24
# File 'lib/vk/api/board/methods/fix_topic.rb', line 24

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

#topic_idInteger

Returns Topic ID.

Returns:

  • (Integer)

    Topic ID.



26
# File 'lib/vk/api/board/methods/fix_topic.rb', line 26

attribute :topic_id, API::Types::Coercible::Int