Sha256: 02bd6e7456afaf6707526ee3c996427e6e9f6d88249bf0bb94155b8be02434c1
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Secure < Vk::Schema::Namespace module Methods # Sets user game level in the application which can be seen by his/her friends. class SetUserLevel < Schema::Method # @!group Properties self.open = false self.method = 'secure.setUserLevel' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [Array] :levels @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json # @option arguments [Integer] :user_id @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json # @option arguments [Integer] :level level value. # @return [Secure::Methods::SetUserLevel] # @!group Arguments # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :levels, API::Types::Coercible::Array.optional # @return [Integer] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :user_id, API::Types::Coercible::Int.optional # @return [Integer] level value. attribute :level, 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/secure/methods/set_user_level.rb |