Class: Vk::API::Photos::Methods::CreateComment

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

Overview

Adds a new comment on the photo.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Photos::Methods::CreateComment

Options Hash (arguments):



# File 'lib/vk/api/photos/methods/create_comment.rb', line 15


Instance Method Details

#access_keyString



45
# File 'lib/vk/api/photos/methods/create_comment.rb', line 45

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

#attachmentsArray



37
# File 'lib/vk/api/photos/methods/create_comment.rb', line 37

attribute :attachments, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil)

#from_groupBoolean



39
# File 'lib/vk/api/photos/methods/create_comment.rb', line 39

attribute :from_group, API::Types::Form::Bool.optional.default(nil)

#guidString



47
# File 'lib/vk/api/photos/methods/create_comment.rb', line 47

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

#messageString



35
# File 'lib/vk/api/photos/methods/create_comment.rb', line 35

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

#owner_idInteger



31
# File 'lib/vk/api/photos/methods/create_comment.rb', line 31

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

#photo_idInteger



33
# File 'lib/vk/api/photos/methods/create_comment.rb', line 33

attribute :photo_id, API::Types::Coercible::Int

#reply_to_commentInteger



41
# File 'lib/vk/api/photos/methods/create_comment.rb', line 41

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

#sticker_idInteger



43
# File 'lib/vk/api/photos/methods/create_comment.rb', line 43

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