ChatMessageInfoProviderGetLatestMessages Method |
Gets newest messages.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.2.23
Syntax 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:
IEnumerableMessageDataSee Also