Function __global->_chat_messages_script_ajax

Definitions

sources/chat.php

  • Output messages (in XML format) from up to five minutes ago (give somebody who's just joined the chatroom some chat backlog), or the messages posted since the last check.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$room_id AUTO_LINK required parameter N/A N/A Room ID (or -1 to mean 'all' as used for IM global process, -2 to mean none)
$backlog boolean False N/A N/A Output the backlog?
$message_id ?AUTO_LINK Null N/A N/A Latest received message ID (null: we're not getting latest messages)
$event_id ?AUTO_LINK Null N/A N/A Latest event ID (null: we're not getting events, but we do request a null event so we can use that as a future reference point)
$events_output string Blank (empty string) N/A N/A Events output to append