ChatMessageHelperGetLatestMessages Method |
Gets latest messages from DB.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax public static IEnumerable<MessageData> GetLatestMessages(
int roomId,
MessageCacheParams messageParam
)
Parameters
- roomId
- Type: SystemInt32
Room ID - messageParam
- Type: CMS.ChatMessageCacheParams
Params to take into consideration when filtering messages (max count and since)
Return Value
Type:
IEnumerableMessageDataSee Also