Class: Vk::API::Groups::Methods::Join
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Groups::Methods::Join
- Defined in:
- lib/vk/api/groups/methods/join.rb
Overview
With this method you can join the group or public page, and also confirm your participation in an event.
Arguments collapse
-
#group_id ⇒ Integer
ID or screen name of the community.
-
#not_sure ⇒ String
Optional parameter which is taken into account when 'gid' belongs to the event:; '1' — Perhaps I will attend; '0' — I will be there for sure (default); ;.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Groups::Methods::Join constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#group_id ⇒ Integer
Returns ID or screen name of the community.
24 |
# File 'lib/vk/api/groups/methods/join.rb', line 24 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#not_sure ⇒ String
Returns Optional parameter which is taken into account when 'gid' belongs to the event:; '1' — Perhaps I will attend; '0' — I will be there for sure (default); ;.
26 |
# File 'lib/vk/api/groups/methods/join.rb', line 26 attribute :not_sure, API::Types::Coercible::String.optional.default(nil) |