Class: Vk::API::Messages::LastActivity

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/messages/last_activity.rb

Overview

Instance Method Summary collapse

Instance Method Details

#onlineInteger

Returns Information whether user is online.

Returns:

  • (Integer)

    Information whether user is online


11
# File 'lib/vk/api/messages/last_activity.rb', line 11

attribute :online, API::Types::Coercible::Int

#timeInteger

Returns Time when user was online in Unixtime.

Returns:

  • (Integer)

    Time when user was online in Unixtime


13
# File 'lib/vk/api/messages/last_activity.rb', line 13

attribute :time, API::Types::Coercible::Int