Sha256: 8825cef9a29f7a434c0a83ced982347ec5273ba2f1312b300ecf946cd841793b

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

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

module Vk
  module API
    class Board < Vk::Schema::Namespace
      module Methods
        # Edits the title of a topic on a community's discussion board.
        class EditTopic < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'board.editTopic'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :group_id ID of the community that owns the discussion board.
          #   @option arguments [Integer] :topic_id Topic ID.
          #   @option arguments [String] :title New title of the topic.
          #   @return [Board::Methods::EditTopic]

          # @!group Arguments

          # @return [Integer] ID of the community that owns the discussion board.
          attribute :group_id, API::Types::Coercible::Int.optional
          # @return [Integer] Topic ID.
          attribute :topic_id, API::Types::Coercible::Int.optional
          # @return [String] New title of the topic.
          attribute :title, 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/board/methods/edit_topic.rb