Class: Vk::API::Wall::Methods::Unpin
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Wall::Methods::Unpin
- Defined in:
- lib/vk/api/wall/methods/unpin.rb
Overview
Unpins the post on wall.
Arguments collapse
-
#owner_id ⇒ Integer
ID of the user or community that owns the wall.
-
#post_id ⇒ Integer
Post ID.
Instance Method Summary collapse
- #initialize(arguments) ⇒ Wall::Methods::Unpin constructor
Methods inherited from Schema::Method
Constructor Details
Instance Method Details
#owner_id ⇒ Integer
Returns ID of the user or community that owns the wall. By default, current user ID. Use a negative value to designate a community ID.
24 |
# File 'lib/vk/api/wall/methods/unpin.rb', line 24 attribute :owner_id, API::Types::Coercible::Int.optional.default(nil) |
#post_id ⇒ Integer
Returns Post ID.
26 |
# File 'lib/vk/api/wall/methods/unpin.rb', line 26 attribute :post_id, API::Types::Coercible::Int |