Sha256: d11d4b88311ca1f365f6143177881157f0456e12bce191f5a35629056c5420ac
Contents?: true
Size: 1.41 KB
Versions: 1
Compression:
Stored size: 1.41 KB
Contents
# frozen_string_literal: true require 'vk/api/methods' module Vk module API class Secure < Vk::Schema::Namespace module Methods # Sends notification to the user. class SendNotification < Schema::Method # @!group Properties self.open = false self.method = 'secure.sendNotification' # @method initialize(arguments) # @param [Hash] arguments # @option arguments [Array] :user_ids @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 [String] :message notification text which should be sent in 'UTF-8' encoding ('254' characters maximum). # @return [Secure::Methods::SendNotification] # @!group Arguments # @return [Array] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json attribute :user_ids, 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 [String] notification text which should be sent in 'UTF-8' encoding ('254' characters maximum). attribute :message, 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/secure/methods/send_notification.rb |