ChatMessageInfoProvider GetLatestMessages Method Kentico 8.1 API Reference
Gets newest messages.

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
maxCount
Type: OnlineSystem Nullable OnlineInt32 
Maximum number of messages (number is not limited if max count is null)
sinceWhen
Type: OnlineSystem Nullable OnlineDateTime 
Messages posted since this time are returned (all messages are returned if null)

Return Value

Type: OnlineIEnumerable MessageData 
See Also