Class: Vk::API::Notes::Methods::EditComment

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

Overview

Edits a comment on a note.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Notes::Methods::EditComment

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :comment_id (Integer)

    Comment ID.

  • :owner_id (Integer)

    Note owner ID.

  • :message (String)

    New comment text.



# File 'lib/vk/api/notes/methods/edit_comment.rb', line 15

Instance Method Details

#comment_idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID.



25
# File 'lib/vk/api/notes/methods/edit_comment.rb', line 25

attribute :comment_id, API::Types::Coercible::Int

#messageString

Returns New comment text.

Returns:

  • (String)

    New comment text.



29
# File 'lib/vk/api/notes/methods/edit_comment.rb', line 29

attribute :message, API::Types::Coercible::String.optional.default(nil)

#owner_idInteger

Returns Note owner ID.

Returns:

  • (Integer)

    Note owner ID.



27
# File 'lib/vk/api/notes/methods/edit_comment.rb', line 27

attribute :owner_id, API::Types::Coercible::Int.optional.default(nil)