Function __global->delete_chat_messages

Definitions

sources/chat2.php

  • Delete chat messages.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$where array No No required parameter N/A N/A Where query to specify what to delete
$reverse_points boolean No No False N/A N/A Whether to reverse the point transactions for every deleted message

Preview

Code (PHP)

/**
 * Delete chat messages.
 *
 * @param  array $where Where query to specify what to delete
 * @param  boolean $reverse_points Whether to reverse the point transactions for every deleted message
 */

function delete_chat_messages(array $where, bool $reverse_points = false)