Class: Vk::API::Friends::Methods::GetOnline
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Friends::Methods::GetOnline
- Defined in:
- lib/vk/api/friends/methods/get_online.rb
Overview
Returns a list of user IDs of a user's friends who are online.
Arguments collapse
-
#count ⇒ Integer
Number of friends to return.
-
#list_id ⇒ Integer
Friend list ID.
-
#offset ⇒ Integer
Offset needed to return a specific subset of friends.
-
#online_mobile ⇒ Boolean
'1' — to return an additional 'online_mobile' field; '0' — (default);.
-
#order ⇒ String
Sort order:; 'random' — random order.
-
#user_id ⇒ Integer
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Friends::Methods::GetOnline
|
# File 'lib/vk/api/friends/methods/get_online.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of friends to return.
36 |
# File 'lib/vk/api/friends/methods/get_online.rb', line 36 attribute :count, API::Types::Coercible::Int.optional.default(nil) |
#list_id ⇒ Integer
Returns Friend list ID. If this parameter is not set, information about all online friends is returned.
30 |
# File 'lib/vk/api/friends/methods/get_online.rb', line 30 attribute :list_id, API::Types::Coercible::Int.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of friends.
38 |
# File 'lib/vk/api/friends/methods/get_online.rb', line 38 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#online_mobile ⇒ Boolean
Returns '1' — to return an additional 'online_mobile' field; '0' — (default);.
32 |
# File 'lib/vk/api/friends/methods/get_online.rb', line 32 attribute :online_mobile, API::Types::Form::Bool.optional.default(nil) |