Bitrix Site Manager

CTicket::DeleteMessage

record set
CTicket::DeleteMessage(
 int MESSAGE_ID,
 char(1) CHECK_RIGHTS="Y"
);

The method DeleteMessage is used to delete a message.

Parameters

ParameterDescription
MESSAGE_ID The message ID.
CHECK_RIGHTS If set to "Y", the current user deletion permission is checked. If "N", the permission is not checked.