   #   {ServerMessages#roomUserJoined} and
   #   {ServerMessages#roomUserLeft} messages, default is `false`.
   #
-  # @option serviceOptions [Integer] historyMaxGetMessages Room
+  # @option serviceOptions [Number] historyMaxGetMessages Room
   #   history size available via {UserCommands#roomHistory} or
   #   {UserCommands#roomHistorySync}, default is `100`.
   #
-  # @option serviceOptions [Integer] historyMaxMessages Room history
+  # @option serviceOptions [Number] historyMaxMessages Room history
   #   DB size, default is `10000`.
   #
-  # @option serviceOptions [Integer] port Server port, default is
+  # @option serviceOptions [Number] port Server port, default is
   #   `8000`.
   #
   # @option serviceOptions [Boolean] useRawErrorObjects Send error

  # `historyMaxGetMessages` option. May be called several times to
  # fill gaps larger then the value of `historyMaxGetMessages`.
  # @param roomName [String] Room name.
  # @param id [Integer] Message id,
  # @param cb [Function<error, Array<Objects>>] Sends ack with an
  #   error or array of messages.
  # @see UserCommands#roomHistoryLastId

  # @option stateOptions [Boolean] useCluster Enable Redis cluster,
  #   default is `false`.
  #
  # @option stateOptions [Number] lockTTL Locks timeout in ms,
  #   default is `5000`.
  #
  # @option stateOptions [Object or Array<Object>] redisOptions
