Sha256: e2c43d49912895dcfa3962ac5a372cba6eaed2ef742508261d483a0cba00ff6e
Contents?: true
Size: 1005 Bytes
Versions: 1
Compression:
Stored size: 1005 Bytes
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Board < Vk::Schema::Namespace module Methods # Closes a topic on a community's discussion board so that comments cannot be posted. class CloseTopic < Schema::Method # @!group Properties self.open = false self.method = 'board.closeTopic' # @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. # @return [Board::Methods::CloseTopic] # @!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 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/close_topic.rb |