Class: Vk::API::Wall::Methods::GetReposts

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

Overview

Returns information about reposts of a post on user wall or community wall.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Wall::Methods::GetReposts

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    User ID or community ID. By default, current user ID. Use a negative value to designate a community ID.

  • :post_id (Integer)

    Post ID.

  • :offset (Integer)

    Offset needed to return a specific subset of reposts.

  • :count (Integer)

    Number of reposts to return.



# File 'lib/vk/api/wall/methods/get_reposts.rb', line 15

Instance Method Details

#countInteger

Returns Number of reposts to return.

Returns:

  • (Integer)

    Number of reposts to return.



32
# File 'lib/vk/api/wall/methods/get_reposts.rb', line 32

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

#offsetInteger

Returns Offset needed to return a specific subset of reposts.

Returns:

  • (Integer)

    Offset needed to return a specific subset of reposts.



30
# File 'lib/vk/api/wall/methods/get_reposts.rb', line 30

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

#owner_idInteger

Returns User ID or community ID. By default, current user ID. Use a negative value to designate a community ID.

Returns:

  • (Integer)

    User ID or community ID. By default, current user ID. Use a negative value to designate a community ID.



26
# File 'lib/vk/api/wall/methods/get_reposts.rb', line 26

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

#post_idInteger

Returns Post ID.

Returns:

  • (Integer)

    Post ID.



28
# File 'lib/vk/api/wall/methods/get_reposts.rb', line 28

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