Class: Vk::API::Messages::Methods::EditChat

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

Overview

Edits the title of a chat.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Messages::Methods::EditChat

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :chat_id (Integer)

    Chat ID.

  • :title (String)

    New title of the chat.


# File 'lib/vk/api/messages/methods/edit_chat.rb', line 15

Instance Method Details

#chat_idInteger

Returns Chat ID.

Returns:

  • (Integer)

    Chat ID.


24
# File 'lib/vk/api/messages/methods/edit_chat.rb', line 24

attribute :chat_id, API::Types::Coercible::Int

#titleString

Returns New title of the chat.

Returns:

  • (String)

    New title of the chat.


26
# File 'lib/vk/api/messages/methods/edit_chat.rb', line 26

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