Deletes a list of messages.
public delete ( array $opts = [] ) : integer | boolean | ||
$opts | array | Additional options:
- keeplog: (boolean) Should any history information of the message be kept? DEFAULT: false - nuke: (boolean) Override user preferences and nuke (i.e. permanently delete) the messages instead? DEFAULT: false |
return | integer | boolean | The number of messages deleted if successful, false if not successful. |