Class: Vk::API::Groups::Methods::GetMembers
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Groups::Methods::GetMembers
- Defined in:
- lib/vk/api/groups/methods/get_members.rb
Overview
Returns a list of community members.
Arguments collapse
-
#count ⇒ Integer
Number of community members to return.
-
#fields ⇒ Array
List of additional fields to be returned.
-
#filter ⇒ String
*'friends' – only friends in this community will be returned;; *'unsure' – only those who pressed 'I may attend' will be returned (if it's an event).
-
#group_id ⇒ String
ID or screen name of the community.
-
#offset ⇒ Integer
Offset needed to return a specific subset of community members.
-
#sort ⇒ String
Sort order.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Groups::Methods::GetMembers
|
# File 'lib/vk/api/groups/methods/get_members.rb', line 15
|
Instance Method Details
#count ⇒ Integer
Returns Number of community members to return.
34 |
# File 'lib/vk/api/groups/methods/get_members.rb', line 34 attribute :count, API::Types::Coercible::Int.optional.default(1000) |
#fields ⇒ Array
Returns List of additional fields to be returned. ; Available values: 'sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives, counters'.
36 |
# File 'lib/vk/api/groups/methods/get_members.rb', line 36 attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#filter ⇒ String
Returns *'friends' – only friends in this community will be returned;; *'unsure' – only those who pressed 'I may attend' will be returned (if it's an event).
38 |
# File 'lib/vk/api/groups/methods/get_members.rb', line 38 attribute :filter, API::Types::Coercible::String.optional.default(nil) |
#group_id ⇒ String
Returns ID or screen name of the community.
28 |
# File 'lib/vk/api/groups/methods/get_members.rb', line 28 attribute :group_id, API::Types::Coercible::String.optional.default(nil) |
#offset ⇒ Integer
Returns Offset needed to return a specific subset of community members.
32 |
# File 'lib/vk/api/groups/methods/get_members.rb', line 32 attribute :offset, API::Types::Coercible::Int.optional.default(nil) |
#sort ⇒ String
Returns Sort order. Available values: 'id_asc', 'id_desc', 'time_asc', 'time_desc'.; 'time_asc' and 'time_desc' are availavle only if the method is called by the group's 'moderator'.
30 |
# File 'lib/vk/api/groups/methods/get_members.rb', line 30 attribute :sort, API::Types::Coercible::String.enum("id_asc", "id_desc", "time_asc", "time_desc").optional.default("id_asc") |