Class: Vk::API::Messages::LastActivity
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Messages::LastActivity
- Defined in:
- lib/vk/api/messages/last_activity.rb
Overview
Instance Method Summary collapse
-
#online ⇒ Integer
Information whether user is online.
-
#time ⇒ Integer
Time when user was online in Unixtime.
Instance Method Details
#online ⇒ Integer
Returns Information whether user is online.
11 |
# File 'lib/vk/api/messages/last_activity.rb', line 11 attribute :online, API::Types::Coercible::Int |
#time ⇒ Integer
Returns Time when user was online in Unixtime.
13 |
# File 'lib/vk/api/messages/last_activity.rb', line 13 attribute :time, API::Types::Coercible::Int |