Class: Vk::API::Messages::Methods::GetLastActivity

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

Overview

Returns a user's current status and date of last activity.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Messages::Methods::GetLastActivity

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :user_id (Integer)

    User ID.


# File 'lib/vk/api/messages/methods/get_last_activity.rb', line 15

Instance Method Details

#user_idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID.


23
# File 'lib/vk/api/messages/methods/get_last_activity.rb', line 23

attribute :user_id, API::Types::Coercible::Int