Class: Vk::API::Users::Methods::GetSubscriptions
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Users::Methods::GetSubscriptions
- Defined in:
- lib/vk/api/users/methods/get_subscriptions.rb
Overview
Returns a list of IDs of users and communities followed by the user.
Arguments collapse
-
#count ⇒ Integer
Number of users and communities to return.
-
#extended ⇒ Boolean
'1' — to return a combined list of users and communities; '0' — to return separate lists of users and communities (default).
- #fields ⇒ Array
-
#offset ⇒ Integer
Offset needed to return a specific subset of subscriptions.
-
#user_id ⇒ Integer
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Users::Methods::GetSubscriptions
|
# File 'lib/vk/api/users/methods/get_subscriptions.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of users and communities to return.
33 |
# File 'lib/vk/api/users/methods/get_subscriptions.rb', line 33 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#extended ⇒ Boolean
Returns '1' — to return a combined list of users and communities; '0' — to return separate lists of users and communities (default).
29 |
# File 'lib/vk/api/users/methods/get_subscriptions.rb', line 29 attribute :extended, API::Types::Form::Bool.optional.default(nil) |
#fields ⇒ Array
35 |
# File 'lib/vk/api/users/methods/get_subscriptions.rb', line 35 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |