Sha256: ffafe1b526f99c889b90be208baad7316996a0a6052b1fed01977f1b023a9f33

Contents?: true

Size: 884 Bytes

Versions: 1

Compression:

Stored size: 884 Bytes

Contents

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

module Vk
  module API
    class Messages < Vk::Schema::Namespace
      module Methods
        # Edits the title of a chat.
        class EditChat < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'messages.editChat'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :chat_id Chat ID.
          #   @option arguments [String] :title New title of the chat.
          #   @return [Messages::Methods::EditChat]

          # @!group Arguments

          # @return [Integer] Chat ID.
          attribute :chat_id, API::Types::Coercible::Int.optional
          # @return [String] New title of the chat.
          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/messages/methods/edit_chat.rb