Class: Vk::API::Messages::Methods::EditChat
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Messages::Methods::EditChat
- Defined in:
- lib/vk/api/messages/methods/edit_chat.rb
Overview
Edits the title of a chat.
Arguments collapse
-
#chat_id ⇒ Integer
Chat ID.
-
#title ⇒ String
New title of the chat.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Messages::Methods::EditChat
|
|
# File 'lib/vk/api/messages/methods/edit_chat.rb', line 15
|
Instance Method Details
#chat_id ⇒ Integer
Returns Chat ID.
24 |
# File 'lib/vk/api/messages/methods/edit_chat.rb', line 24 attribute :chat_id, API::Types::Coercible::Int |
#title ⇒ String
Returns New title of the chat.
26 |
# File 'lib/vk/api/messages/methods/edit_chat.rb', line 26 attribute :title, API::Types::Coercible::String |