Class: Vk::API::Newsfeed::Methods::Unsubscribe
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Newsfeed::Methods::Unsubscribe
- Defined in:
- lib/vk/api/newsfeed/methods/unsubscribe.rb
Overview
Unsubscribes the current user from specified newsfeeds.
Arguments collapse
-
#item_id ⇒ Integer
Object ID.
-
#owner_id ⇒ Integer
Object owner ID.
-
#type ⇒ String
Type of object from which to unsubscribe:; 'note' — note; 'photo' — photo; 'post' — post on user wall or community wall; 'topic' — topic; 'video' — video.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Newsfeed::Methods::Unsubscribe
|
# File 'lib/vk/api/newsfeed/methods/unsubscribe.rb', line 15
|
Instance Method Details
#item_id ⇒ Integer
Returns Object ID.
29 |
# File 'lib/vk/api/newsfeed/methods/unsubscribe.rb', line 29 attribute :item_id, API::Types::Coercible::Int |