Class: Vk::API::Stats::Methods::GetPostReach

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

Overview

Returns stats for a wall post.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Stats::Methods::GetPostReach

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    post owner community id. Specify with "-" sign.

  • :post_id (Integer)

    wall post id. Note that stats are available only for '300' last (newest) posts on a community wall.



# File 'lib/vk/api/stats/methods/get_post_reach.rb', line 15

Instance Method Details

#owner_idInteger

Returns post owner community id. Specify with "-" sign.

Returns:

  • (Integer)

    post owner community id. Specify with "-" sign.



24
# File 'lib/vk/api/stats/methods/get_post_reach.rb', line 24

attribute :owner_id, API::Types::Coercible::Int

#post_idInteger

Returns wall post id. Note that stats are available only for '300' last (newest) posts on a community wall.

Returns:

  • (Integer)

    wall post id. Note that stats are available only for '300' last (newest) posts on a community wall.



26
# File 'lib/vk/api/stats/methods/get_post_reach.rb', line 26

attribute :post_id, API::Types::Coercible::Int