Class: Vk::API::Groups::MemberRole

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/groups/member_role.rb

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID


11
# File 'lib/vk/api/groups/member_role.rb', line 11

attribute :id, API::Types::Coercible::Int.optional.default(nil)

#roleString

Returns User's credentials as community admin.

Returns:

  • (String)

    User's credentials as community admin


13
# File 'lib/vk/api/groups/member_role.rb', line 13

attribute :role, API::Types::Coercible::String.enum("moderator", "editor", "administrator", "creator").optional.default(nil)