Class: Vk::API::Status::Methods::Get

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/status/methods/get.rb

Overview

Returns data required to show the status of a user or community.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Status::Methods::Get

Parameters:

  • arguments (Hash)

Options Hash (arguments):



# File 'lib/vk/api/status/methods/get.rb', line 15

Instance Method Details

#group_idInteger



26
# File 'lib/vk/api/status/methods/get.rb', line 26

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

#user_idInteger

Returns User ID or community ID. Use a negative value to designate a community ID.

Returns:

  • (Integer)

    User ID or community ID. Use a negative value to designate a community ID.



24
# File 'lib/vk/api/status/methods/get.rb', line 24

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