Class: Vk::API::Messages::Methods::DeleteChatPhoto

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

Overview

Deletes a chat's cover picture.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :chat_id (Integer)

    Chat ID.


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

Instance Method Details

#chat_idInteger

Returns Chat ID.

Returns:

  • (Integer)

    Chat ID.


23
# File 'lib/vk/api/messages/methods/delete_chat_photo.rb', line 23

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