diff --git a/Realtime/Realtime/Conversation/LCIMConversation.cs b/Realtime/Realtime/Conversation/LCIMConversation.cs index ef9fbcf..c2553d5 100644 --- a/Realtime/Realtime/Conversation/LCIMConversation.cs +++ b/Realtime/Realtime/Conversation/LCIMConversation.cs @@ -179,7 +179,6 @@ namespace LeanCloud.Realtime { /// /// Mark the last message of this conversation as read. /// - /// /// public virtual async Task Read() { if (LastMessage == null) { @@ -259,10 +258,13 @@ namespace LeanCloud.Realtime { } } + + /// /// Sends a message in this conversation. /// /// The message to send. + /// The options of sending message. /// public async Task Send(LCIMMessage message, LCIMMessageSendOptions options = null) { @@ -456,7 +458,7 @@ namespace LeanCloud.Realtime { public async Task> QueryMessages(LCIMMessageQueryEndpoint start = null, LCIMMessageQueryEndpoint end = null, LCIMMessageQueryDirection direction = LCIMMessageQueryDirection.NewToOld, - int limit = 100, + int limit = 20, int messageType = 0) { return await Client.MessageController.QueryMessages(Id, start, end, direction, limit, messageType); } diff --git a/Realtime/Realtime/Conversation/LCIMConversationQuery.cs b/Realtime/Realtime/Conversation/LCIMConversationQuery.cs index 0ed8eba..e65f193 100644 --- a/Realtime/Realtime/Conversation/LCIMConversationQuery.cs +++ b/Realtime/Realtime/Conversation/LCIMConversationQuery.cs @@ -289,7 +289,7 @@ namespace LeanCloud.Realtime { } /// - /// Retrieves the conversation + /// Retrieves the conversation. /// /// ///