Sha256: 4a2d45adc467ab1d755b880a02d1ba0ba07e756d05d14662cf5e0d2bb1113918
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Newsfeed < Vk::Schema::Namespace module Methods # Returns a list of users and communities banned from the current user's newsfeed. class GetBanned < Schema::Method # @!group Properties self.open = false self.method = 'newsfeed.getBanned' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [Boolean] :extended '1' — return extra information about users and communities # @option arguments [Array] :fields Profile fields to return.; ; # @option arguments [String] :name_case Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional # @return [Newsfeed::Methods::GetBanned] # @!group Arguments # @return [Boolean] '1' — return extra information about users and communities attribute :extended, API::Types::Bool.optional # @return [Array] Profile fields to return.; ; attribute :fields, API::Types::Coercible::Array.optional # @return [String] Case for declension of user name and surname:; 'nom' — nominative (default); 'gen' — genitive ; 'dat' — dative; 'acc' — accusative ; 'ins' — instrumental ; 'abl' — prepositional attribute :name_case, API::Types::Coercible::String.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/get_banned.rb |