Documentation

GetChatLastDate

string
CSocNetMessages::GetChatLastDate(
 int userID1,
 int userID2
);

The method returns date of last message in the correspondence between users. Non-static method.

Parameters

Parameter Description Available from version
userID1 First user.
userID2 Second user.

Returned value

String, containing the date of the last message exchanged between users in the format YYYY-MM-DD 00:00:00. When there are no messages between users, the current date is returned in the specified format.



© «Bitrix24», 2001-2024
Up