Class: Vk::API::Status::Methods::Set
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Status::Methods::Set
- Defined in:
- lib/vk/api/status/methods/set.rb
Overview
Sets a new status for the current user.
Arguments collapse
-
#group_id ⇒ Integer
Identifier of a community to set a status in.
-
#text ⇒ String
Text of the new status.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Status::Methods::Set constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#group_id ⇒ Integer
Returns Identifier of a community to set a status in. If left blank the status is set to current user.
26 |
# File 'lib/vk/api/status/methods/set.rb', line 26 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#text ⇒ String
Returns Text of the new status.
24 |
# File 'lib/vk/api/status/methods/set.rb', line 24 attribute :text, API::Types::Coercible::String.optional.default(nil) |