Documentation

MarkMessageRead

bool
CSocNetMessages::MarkMessageRead(
 targetUserID,
 int senderUserID,
 int messageID,
 bool bRead = true
);

The method marks message as read. Non-static method.

Parameters

Parameter Description Available from version
targetUserID User/message recipient ID.
senderUserID User/message sender ID.
messageID Message ID.
bRead Optional parameter. Set to true by default.

Returned value

Returns true on success and false otherwise.



© «Bitrix24», 2001-2024