Documentation

Update

int
CSocNetMessages::Update(
 int ID,
 array arFields
);

The method modifies message parameters. Non-static method.

Parameters

Parameter Description Available from version
ID Message ID.
arFields Array of modified message parameters. Can contain the following keys:
FROM_USER_ID - message sender,
TO_USER_ID - message recipient,
MESSAGE - message,
DATE_CREATE - date when message created,
DATE_VIEW - - date when message read,
MESSAGE_TYPE - message type: P - personal, S - system,
SEND_MAIL - flag (Y/N) - message sent via email.

Returned value

Returns message ID on success or false otherwise.



© «Bitrix24», 2001-2024
Up