Class: Vk::API::Board::Methods::EditTopic

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

Overview

Edits the title of a topic on 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::EditTopic

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of the community that owns the discussion board.

  • :topic_id (Integer)

    Topic ID.

  • :title (String)

    New title of the topic.


# File 'lib/vk/api/board/methods/edit_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.


25
# File 'lib/vk/api/board/methods/edit_topic.rb', line 25

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

#titleString

Returns New title of the topic.

Returns:

  • (String)

    New title of the topic.


29
# File 'lib/vk/api/board/methods/edit_topic.rb', line 29

attribute :title, API::Types::Coercible::String

#topic_idInteger

Returns Topic ID.

Returns:

  • (Integer)

    Topic ID.


27
# File 'lib/vk/api/board/methods/edit_topic.rb', line 27

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