Sha256: be59f301462416ab6e833f7e4e1438b57f582a8710532e2ad1499dfc7970d470

Contents?: true

Size: 1023 Bytes

Versions: 1

Compression:

Stored size: 1023 Bytes

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Messages < Vk::Schema::Namespace
      module Methods
        # Returns data required for connection to a Long Poll server.
        class GetLongPollServer < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'messages.getLongPollServer'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Boolean] :use_ssl '1' — to use SSL.
          #   @option arguments [Boolean] :need_pts '1' — to return the 'pts' field, needed for the  method.
          #   @return [Messages::Methods::GetLongPollServer]

          # @!group Arguments

          # @return [Boolean] '1' — to use SSL.
          attribute :use_ssl, API::Types::Bool.optional
          # @return [Boolean] '1' — to return the 'pts' field, needed for the  method.
          attribute :need_pts, API::Types::Bool.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/messages/methods/get_long_poll_server.rb