Click or drag to resize
ChatMessageInfoProviderGetLatestMessages Method
Gets newest messages.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax
C#
public static IEnumerable<MessageData> GetLatestMessages(
	int roomID,
	Nullable<int> maxCount,
	Nullable<DateTime> sinceWhen
)

Parameters

roomID
Type: SystemInt32
Room ID
maxCount
Type: SystemNullableInt32
Maximum number of messages (number is not limited if max count is null)
sinceWhen
Type: SystemNullableDateTime
Messages posted since this time are returned (all messages are returned if null)

Return Value

Type: IEnumerableMessageData
See Also