Click or drag to resize
ChatMessageHelperGetLatestMessages Method
Gets latest messages from DB.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntax
C#
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: IEnumerableMessageData
See Also