Class: Vk::API::Apps::Methods::GetFriendsList
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Apps::Methods::GetFriendsList
- Defined in:
- lib/vk/api/apps/methods/get_friends_list.rb
Overview
Creates friends list for requests and invites in current app.
Arguments collapse
-
#count ⇒ Integer
List size.
-
#fields ⇒ Array
Additional profile fields, see .
-
#type ⇒ String
List type.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Apps::Methods::GetFriendsList
|
# File 'lib/vk/api/apps/methods/get_friends_list.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns List size.
25 |
# File 'lib/vk/api/apps/methods/get_friends_list.rb', line 25 attribute :count, API::Types::Coercible::Int.optional.default(20) |
#fields ⇒ Array
Returns Additional profile fields, see .
29 |
# File 'lib/vk/api/apps/methods/get_friends_list.rb', line 29 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#type ⇒ String
Returns List type. Possible values:; * 'invite' — available for invites (don't play the game);; * 'request' — available for request (play the game).; ; By default: 'invite'.
27 |
# File 'lib/vk/api/apps/methods/get_friends_list.rb', line 27 attribute :type, API::Types::Coercible::String.enum("request", "invite").optional.default("request") |