Sha256: f47d914693dfadfaaa8c04ffd503133d3f2658f06e8faf5e6262ca6ac0f516fa
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Newsfeed < Vk::Schema::Namespace module Methods # Unsubscribes the current user from specified newsfeeds. class Unsubscribe < Schema::Method # @!group Properties self.open = false self.method = 'newsfeed.unsubscribe' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [String] :type Type of object from which to unsubscribe:; 'note' — note; 'photo' — photo; 'post' — post on user wall or community wall; 'topic' — topic; 'video' — video # @option arguments [Integer] :owner_id Object owner ID. # @option arguments [Integer] :item_id Object ID. # @return [Newsfeed::Methods::Unsubscribe] # @!group Arguments # @return [String] Type of object from which to unsubscribe:; 'note' — note; 'photo' — photo; 'post' — post on user wall or community wall; 'topic' — topic; 'video' — video attribute :type, API::Types::Coercible::String.optional # @return [Integer] Object owner ID. attribute :owner_id, API::Types::Coercible::Int.optional # @return [Integer] Object ID. attribute :item_id, API::Types::Coercible::Int.optional end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vk-0.99.5.53.alpha | lib/vk/api/newsfeed/methods/unsubscribe.rb |