Class: Vk::API::Groups::Group

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

Overview

Direct Known Subclasses

GroupFull

Instance Method Summary collapse

Instance Method Details

#admin_levelInteger

Returns Level of current user's credentials as manager.

Returns:

  • (Integer)

    Level of current user's credentials as manager


23
# File 'lib/vk/api/groups/group.rb', line 23

attribute :admin_level, API::Types::Coercible::Int.enum(1, 2, 3).optional.default(nil)

#idString

Returns Community ID.

Returns:

  • (String)

    Community ID


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

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

#is_adminInteger

Returns Information whether current user is administrator.

Returns:

  • (Integer)

    Information whether current user is administrator


21
# File 'lib/vk/api/groups/group.rb', line 21

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

#is_closedInteger

Returns Information whether community is closed.

Returns:

  • (Integer)

    Information whether community is closed


17
# File 'lib/vk/api/groups/group.rb', line 17

attribute :is_closed, API::Types::Coercible::Int.enum(0, 1, 2).optional.default(nil)

#is_memberAPI::Base::BoolInt

Returns Information whether current user is member.

Returns:


25
# File 'lib/vk/api/groups/group.rb', line 25

attribute :is_member, API::Base::BoolInt.optional.default(nil)

#nameString

Returns Community name.

Returns:

  • (String)

    Community name


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

attribute :name, API::Types::Coercible::String.optional.default(nil)

#photo_100String

Returns URL of square photo of the community with 100 pixels in width.

Returns:

  • (String)

    URL of square photo of the community with 100 pixels in width


29
# File 'lib/vk/api/groups/group.rb', line 29

attribute :photo_100, API::Types::Coercible::String.optional.default(nil)

#photo_200String

Returns URL of square photo of the community with 200 pixels in width.

Returns:

  • (String)

    URL of square photo of the community with 200 pixels in width


31
# File 'lib/vk/api/groups/group.rb', line 31

attribute :photo_200, API::Types::Coercible::String.optional.default(nil)

#photo_50String

Returns URL of square photo of the community with 50 pixels in width.

Returns:

  • (String)

    URL of square photo of the community with 50 pixels in width


27
# File 'lib/vk/api/groups/group.rb', line 27

attribute :photo_50, API::Types::Coercible::String.optional.default(nil)

#screen_nameString

Returns Domain of the community page.

Returns:

  • (String)

    Domain of the community page


15
# File 'lib/vk/api/groups/group.rb', line 15

attribute :screen_name, API::Types::Coercible::String.optional.default(nil)

#typeString

Returns Community type.

Returns:

  • (String)

    Community type


19
# File 'lib/vk/api/groups/group.rb', line 19

attribute :type, API::Types::Coercible::String.enum("group", "page", "event").optional.default(nil)