Class: Vk::API::Photos::Methods::GetComments

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

Overview

Returns a list of comments on a photo.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Options Hash (arguments):



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


Instance Method Details

#access_keyString



46
# File 'lib/vk/api/photos/methods/get_comments.rb', line 46

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

#countInteger



42
# File 'lib/vk/api/photos/methods/get_comments.rb', line 42

attribute :count, API::Types::Coercible::Int.optional.default(20)

#extendedBoolean



48
# File 'lib/vk/api/photos/methods/get_comments.rb', line 48

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

#fieldsArray



50
# File 'lib/vk/api/photos/methods/get_comments.rb', line 50

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

#need_likesBoolean



36
# File 'lib/vk/api/photos/methods/get_comments.rb', line 36

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

#offsetInteger



40
# File 'lib/vk/api/photos/methods/get_comments.rb', line 40

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

#owner_idInteger



32
# File 'lib/vk/api/photos/methods/get_comments.rb', line 32

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

#photo_idInteger



34
# File 'lib/vk/api/photos/methods/get_comments.rb', line 34

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

#sortString



44
# File 'lib/vk/api/photos/methods/get_comments.rb', line 44

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

#start_comment_idInteger



38
# File 'lib/vk/api/photos/methods/get_comments.rb', line 38

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