ChatMessageHelper GetLatestMessages Method Kentico 8.1 API Reference
Gets latest messages from DB.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

roomId
Type: OnlineSystem Int32
Room ID
messageParam
Type: CMS.Chat MessageCacheParams
Params to take into consideration when filtering messages (max count and since)

Return Value

Type: OnlineIEnumerable MessageData 
See Also