Class: Vk::API::Groups::GroupFull

Inherits:
Group show all
Defined in:
lib/vk/api/groups/group_full.rb

Overview

Instance Method Summary collapse

Methods inherited from Group

#admin_level, #id, #is_admin, #is_closed, #is_member, #name, #photo_100, #photo_200, #photo_50, #screen_name, #type

Instance Method Details

#activity ⇒ String

Returns Type of group, start date of event or category of public page.

Returns:

  • (String) —

    Type of group, start date of event or category of public page



37
# File 'lib/vk/api/groups/group_full.rb', line 37

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

#age_limits ⇒ Integer

Returns Information whether age limit.

Returns:

  • (Integer) —

    Information whether age limit



65
# File 'lib/vk/api/groups/group_full.rb', line 65

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

#can_create_topic ⇒ API::Base::BoolInt

Returns Information whether current user can create topic.

Returns:



41
# File 'lib/vk/api/groups/group_full.rb', line 41

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

#can_message ⇒ Integer

Returns Information whether current user can send a message to community.

Returns:

  • (Integer) —

    Information whether current user can send a message to community



57
# File 'lib/vk/api/groups/group_full.rb', line 57

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

#can_post ⇒ API::Base::BoolInt

Returns Information whether current user can post on community's wall.

Returns:



33
# File 'lib/vk/api/groups/group_full.rb', line 33

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

#can_see_all_posts ⇒ API::Base::BoolInt

Returns Information whether current user can see all posts on community's wall.

Returns:

  • (API::Base::BoolInt) —

    Information whether current user can see all posts on community's wall



35
# File 'lib/vk/api/groups/group_full.rb', line 35

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

#can_upload_video ⇒ API::Base::BoolInt

Returns Information whether current user can upload video.

Returns:



43
# File 'lib/vk/api/groups/group_full.rb', line 43

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

#city ⇒ API::Base::Object



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

attribute :city, Dry::Types[API::Base::Object].optional.default(nil)

#contacts ⇒ Array



51
# File 'lib/vk/api/groups/group_full.rb', line 51

attribute :contacts, API::Types::Coercible::Array.member(API::Groups::ContactsItem).optional.default(nil)

#counters ⇒ API::Groups::CountersGroup



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

attribute :counters, Dry::Types[API::Groups::CountersGroup].optional.default(nil)

#country ⇒ API::Base::Country



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

attribute :country, Dry::Types[API::Base::Country].optional.default(nil)

#deactivated ⇒ String

Returns Information whether community is banned.

Returns:

  • (String) —

    Information whether community is banned



63
# File 'lib/vk/api/groups/group_full.rb', line 63

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

#description ⇒ String

Returns Community description.

Returns:

  • (String) —

    Community description



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

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

#finish_date ⇒ Integer

Returns Finish date of event in Unixtime.

Returns:

  • (Integer) —

    Finish date of event in Unixtime



61
# File 'lib/vk/api/groups/group_full.rb', line 61

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

#fixed_post ⇒ Integer

Returns Fixed post ID.

Returns:

  • (Integer) —

    Fixed post ID



39
# File 'lib/vk/api/groups/group_full.rb', line 39

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

#is_favorite ⇒ API::Base::BoolInt

Returns Information whether community is in faves.

Returns:



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

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

#is_subscribed ⇒ API::Base::BoolInt

Returns Information whether current user is subscribed.

Returns:



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

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


49
# File 'lib/vk/api/groups/group_full.rb', line 49

attribute :links, API::Types::Coercible::Array.member(API::Groups::LinksItem).optional.default(nil)

#main_album_id ⇒ Integer

Returns Community's main photo album ID.

Returns:

  • (Integer) —

    Community's main photo album ID



47
# File 'lib/vk/api/groups/group_full.rb', line 47

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

#main_section ⇒ Integer

Returns Main section of community.

Returns:

  • (Integer) —

    Main section of community



55
# File 'lib/vk/api/groups/group_full.rb', line 55

attribute :main_section, API::Types::Coercible::Int.enum(0, 1, 2, 3, 4, 5).optional.default(nil)

#market ⇒ API::Groups::MarketInfo



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

attribute :market, Dry::Types[API::Groups::MarketInfo].optional.default(nil)

#member_status ⇒ Integer

Returns Current user's member status.

Returns:

  • (Integer) —

    Current user's member status



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

attribute :member_status, API::Types::Coercible::Int.enum(0, 1, 2, 3, 4, 5).optional.default(nil)

#members_count ⇒ Integer

Returns Community members number.

Returns:

  • (Integer) —

    Community members number



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

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

#site ⇒ String

Returns Community's website.

Returns:

  • (String) —

    Community's website



53
# File 'lib/vk/api/groups/group_full.rb', line 53

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

#start_date ⇒ Integer

Returns Start date of event in Unixtime.

Returns:

  • (Integer) —

    Start date of event in Unixtime



59
# File 'lib/vk/api/groups/group_full.rb', line 59

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

#status ⇒ String

Returns Community status.

Returns:

  • (String) —

    Community status



45
# File 'lib/vk/api/groups/group_full.rb', line 45

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

#verified ⇒ API::Base::BoolInt

Returns Information whether community is verified.

Returns:



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

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

#wiki_page ⇒ String

Returns Community's main wiki page title.

Returns:

  • (String) —

    Community's main wiki page title



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

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