Class: Vk::API::Groups::Methods::EditManager
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Groups::Methods::EditManager
- Defined in:
- lib/vk/api/groups/methods/edit_manager.rb
Overview
Allows to add, remove or edit the community manager .
Arguments collapse
-
#contact_email ⇒ String
Contact e-mail.
-
#contact_phone ⇒ String
Contact phone.
-
#contact_position ⇒ String
Position to show in Contacts block.
-
#group_id ⇒ Integer
Community ID.
-
#is_contact ⇒ Boolean
'1' — to show the manager in Contacts block of the community.
-
#role ⇒ String
Manager role.
-
#user_id ⇒ Integer
User ID.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Groups::Methods::EditManager
|
# File 'lib/vk/api/groups/methods/edit_manager.rb', line 15
|
Instance Method Details
#contact_email ⇒ String
Returns Contact e-mail.
41 |
# File 'lib/vk/api/groups/methods/edit_manager.rb', line 41 attribute :contact_email, API::Types::Coercible::String.optional.default(nil) |
#contact_phone ⇒ String
Returns Contact phone.
39 |
# File 'lib/vk/api/groups/methods/edit_manager.rb', line 39 attribute :contact_phone, API::Types::Coercible::String.optional.default(nil) |
#contact_position ⇒ String
Returns Position to show in Contacts block.
37 |
# File 'lib/vk/api/groups/methods/edit_manager.rb', line 37 attribute :contact_position, API::Types::Coercible::String.optional.default(nil) |
#group_id ⇒ Integer
Returns Community ID.
29 |
# File 'lib/vk/api/groups/methods/edit_manager.rb', line 29 attribute :group_id, API::Types::Coercible::Int |
#is_contact ⇒ Boolean
Returns '1' — to show the manager in Contacts block of the community.
35 |
# File 'lib/vk/api/groups/methods/edit_manager.rb', line 35 attribute :is_contact, API::Types::Form::Bool.optional.default(nil) |