Class: Vk::API::Users::Methods::GetFollowers
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Users::Methods::GetFollowers
- Defined in:
- lib/vk/api/users/methods/get_followers.rb
Overview
Returns a list of IDs of followers of the user in question, sorted by date added, most recent first.
Arguments collapse
-
#count ⇒ Integer
Number of followers to return.
-
#fields ⇒ Array, 'bdate'
Profile fields to return.
-
#name_case ⇒ String
Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional.
-
#offset ⇒ Integer
Offset needed to return a specific subset of followers.
-
#user_id ⇒ Integer
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Users::Methods::GetFollowers
|
# File 'lib/vk/api/users/methods/get_followers.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of followers to return.
31 |
# File 'lib/vk/api/users/methods/get_followers.rb', line 31 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#fields ⇒ Array, 'bdate'
Returns Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online'.;.
33 |
# File 'lib/vk/api/users/methods/get_followers.rb', line 33 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#name_case ⇒ String
Returns Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional.
35 |
# File 'lib/vk/api/users/methods/get_followers.rb', line 35 attribute :name_case, API::Types::Coercible::String.enum("nom", "gen", "dat", "acc", "ins", "abl").optional.default(nil) |