NIMSDK-AOS
9.17.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
QChatMessageService.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat;
2
3
import
androidx.annotation.NonNull;
4
5
import
com
.
netease
.
nimlib
.apt.annotation.NIMService;
6
import
com
.
netease
.
nimlib
.
sdk
.
AbortableFuture
;
7
import
com
.
netease
.
nimlib
.
sdk
.
InvocationFuture
;
8
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
model
.
QChatMessageCache
;
9
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatAddQuickCommentParam
;
10
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatAreMentionedMeMessagesParam
;
11
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatDeleteMessageParam
;
12
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatDownloadAttachmentParam
;
13
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetCommentatorsParam
;
14
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetLastMessageOfChannelsParam
;
15
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetMentionedMeMessagesParam
;
16
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetMessageHistoryByIdsParam
;
17
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetMessageHistoryParam
;
18
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetMessageThreadInfosParam
;
19
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetQuickCommentsParam
;
20
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetReferMessagesParam
;
21
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatGetThreadMessagesParam
;
22
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatMarkMessageReadParam
;
23
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatMarkSystemNotificationsReadParam
;
24
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatRemoveQuickCommentParam
;
25
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatReplyMessageParam
;
26
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatResendMessageParam
;
27
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatResendSystemNotificationParam
;
28
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatRevokeMessageParam
;
29
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatSearchMsgByPageParam
;
30
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatSendMessageParam
;
31
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatSendSystemNotificationParam
;
32
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatSendTypingEventParam
;
33
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatUpdateMessageParam
;
34
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
param
.
QChatUpdateSystemNotificationParam
;
35
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatAreMentionedMeMessagesResult
;
36
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatDeleteMessageResult
;
37
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetCommentatorsResult
;
38
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetLastMessageOfChannelsResult
;
39
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetMentionedMeMessagesResult
;
40
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetMessageHistoryResult
;
41
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetMessageThreadInfosResult
;
42
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetQuickCommentsResult
;
43
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetReferMessagesResult
;
44
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatGetThreadMessagesResult
;
45
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatRevokeMessageResult
;
46
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatSearchMsgByPageResult
;
47
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatSendMessageResult
;
48
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatSendSystemNotificationResult
;
49
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatSendTypingEventResult
;
50
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatUpdateMessageResult
;
51
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
result
.
QChatUpdateSystemNotificationResult
;
52
53
import
java.util.List;
54
55
@NIMService(
"圈组消息服务"
)
56
public interface
QChatMessageService
{
57
63
InvocationFuture<QChatSendMessageResult>
sendMessage(@NonNull
QChatSendMessageParam
param);
64
70
InvocationFuture<QChatSendMessageResult>
replyMessage(@NonNull
QChatReplyMessageParam
param);
71
77
InvocationFuture<QChatSendMessageResult>
resendMessage(@NonNull
QChatResendMessageParam
param);
78
85
AbortableFuture<Void>
downloadAttachment(
QChatDownloadAttachmentParam
param);
86
92
InvocationFuture<QChatGetMessageHistoryResult>
getMessageHistory(@NonNull
QChatGetMessageHistoryParam
param);
93
99
InvocationFuture<QChatUpdateMessageResult>
updateMessage(@NonNull
QChatUpdateMessageParam
param);
100
106
InvocationFuture<QChatRevokeMessageResult>
revokeMessage(@NonNull
QChatRevokeMessageParam
param);
107
113
InvocationFuture<QChatDeleteMessageResult>
deleteMessage(@NonNull
QChatDeleteMessageParam
param);
114
121
InvocationFuture<Void>
markMessageRead(@NonNull
QChatMarkMessageReadParam
param);
122
128
InvocationFuture<QChatSendSystemNotificationResult>
sendSystemNotification(@NonNull
QChatSendSystemNotificationParam
param);
129
135
InvocationFuture<QChatSendSystemNotificationResult>
resendSystemNotification(@NonNull
QChatResendSystemNotificationParam
param);
136
142
InvocationFuture<QChatUpdateSystemNotificationResult>
updateSystemNotification(@NonNull
QChatUpdateSystemNotificationParam
param);
143
149
InvocationFuture<Void>
markSystemNotificationsRead(@NonNull
QChatMarkSystemNotificationsReadParam
param);
150
154
void
clearMsgNotify();
155
161
InvocationFuture<QChatGetMessageHistoryResult>
getMessageHistoryByIds(@NonNull
QChatGetMessageHistoryByIdsParam
param);
162
168
InvocationFuture<QChatGetReferMessagesResult>
getReferMessages(@NonNull
QChatGetReferMessagesParam
param);
174
InvocationFuture<QChatGetThreadMessagesResult>
getThreadMessages(@NonNull
QChatGetThreadMessagesParam
param);
175
181
InvocationFuture<QChatGetMessageThreadInfosResult>
getMessageThreadInfos(@NonNull
QChatGetMessageThreadInfosParam
param);
182
188
InvocationFuture<Void>
addQuickComment(@NonNull
QChatAddQuickCommentParam
param);
189
195
InvocationFuture<Void>
removeQuickComment(@NonNull
QChatRemoveQuickCommentParam
param);
196
202
InvocationFuture<QChatGetQuickCommentsResult>
getQuickComments(@NonNull
QChatGetQuickCommentsParam
param);
203
210
InvocationFuture<QChatGetCommentatorsResult>
getCommentators(@NonNull
QChatGetCommentatorsParam
param);
211
218
InvocationFuture<List<QChatMessageCache>
> getMessageCache(
long
qchatServerId,
long
qchatChannelId);
219
226
List<QChatMessageCache> getMessageCacheBlock(
long
qchatServerId,
long
qchatChannelId);
227
231
void
clearMessageCache();
232
239
InvocationFuture<QChatSendTypingEventResult>
sendTypingEvent(
QChatSendTypingEventParam
param);
240
241
247
InvocationFuture<QChatGetLastMessageOfChannelsResult>
getLastMessageOfChannels(@NonNull
QChatGetLastMessageOfChannelsParam
param);
248
254
InvocationFuture<QChatSearchMsgByPageResult>
searchMsgByPage(@NonNull
QChatSearchMsgByPageParam
param);
255
261
InvocationFuture<QChatGetMentionedMeMessagesResult>
getMentionedMeMessages(@NonNull
QChatGetMentionedMeMessagesParam
param);
262
268
InvocationFuture<QChatAreMentionedMeMessagesResult>
areMentionedMeMessages(@NonNull
QChatAreMentionedMeMessagesParam
param);
269
281
boolean
insertOrReplaceTextCache(
long
serverId,
long
channelId, @NonNull String value);
282
297
boolean
deleteTextCache(
long
serverId,
long
channelId);
298
299
308
String getTextCache(
long
serverId,
long
channelId);
309
}
com.netease.nimlib.sdk.qchat.param.QChatDownloadAttachmentParam
"下载附件"接口入参
Definition:
QChatDownloadAttachmentParam.java:9
com.netease.nimlib.sdk.qchat.result.QChatGetThreadMessagesResult
Definition:
QChatGetThreadMessagesResult.java:8
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease.nimlib.sdk.qchat.result.QChatAreMentionedMeMessagesResult
批量查询消息是否@当前用户接口 结果
Definition:
QChatAreMentionedMeMessagesResult.java:9
com.netease.nimlib.sdk.qchat.param.QChatAreMentionedMeMessagesParam
"批量查询消息是否@当前用户"接口入参
Definition:
QChatAreMentionedMeMessagesParam.java:11
com.netease.nimlib.sdk.qchat.param.QChatGetThreadMessagesParam
"查询thread聊天的历史"接口入参
Definition:
QChatGetThreadMessagesParam.java:10
com.netease.nimlib.sdk.qchat.param.QChatSendSystemNotificationParam
"发送系统通知"接口入参
Definition:
QChatSendSystemNotificationParam.java:19
com.netease.nimlib.sdk.qchat.param
Definition:
QChatPushConfigParam.java:1
com.netease.nimlib.sdk.qchat.result.QChatRevokeMessageResult
Definition:
QChatRevokeMessageResult.java:7
com.netease
com.netease.nimlib.sdk.qchat.result.QChatGetLastMessageOfChannelsResult
Definition:
QChatGetLastMessageOfChannelsResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatSendMessageParam
"发送消息"接口入参
Definition:
QChatSendMessageParam.java:20
com.netease.nimlib.sdk.qchat.param.QChatUpdateMessageParam
"更新消息"接口入参
Definition:
QChatUpdateMessageParam.java:10
com.netease.nimlib.sdk.qchat.result.QChatGetReferMessagesResult
Definition:
QChatGetReferMessagesResult.java:7
com.netease.nimlib.sdk.qchat.QChatMessageService
Definition:
QChatMessageService.java:56
com.netease.nimlib.sdk.qchat.result.QChatGetQuickCommentsResult
Definition:
QChatGetQuickCommentsResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatMarkMessageReadParam
"标记已读"接口入参
Definition:
QChatMarkMessageReadParam.java:8
com
com.netease.nimlib.sdk.InvocationFuture
调用跟踪
Definition:
InvocationFuture.java:6
com.netease.nimlib.sdk.qchat.param.QChatGetMessageHistoryByIdsParam
"根据消息id查询历史消息"接口入参
Definition:
QChatGetMessageHistoryByIdsParam.java:10
com.netease.nimlib.sdk.qchat.param.QChatSendTypingEventParam
"发送消息正在输入事件"接口入参
Definition:
QChatSendTypingEventParam.java:10
com.netease.nimlib.sdk.qchat.param.QChatGetMentionedMeMessagesParam
"分页查询指定频道@我的消息"接口入参
Definition:
QChatGetMentionedMeMessagesParam.java:6
com.netease.nimlib.sdk.AbortableFuture
可中断操作的调用跟踪接口。
Definition:
AbortableFuture.java:6
com.netease.nimlib.sdk.qchat.param.QChatRemoveQuickCommentParam
Definition:
QChatRemoveQuickCommentParam.java:6
com.netease.nimlib.sdk.qchat.result.QChatSendSystemNotificationResult
Definition:
QChatSendSystemNotificationResult.java:7
com.netease.nimlib.sdk.qchat.result.QChatGetMessageHistoryResult
Definition:
QChatGetMessageHistoryResult.java:8
com.netease.nimlib.sdk.qchat.param.QChatGetCommentatorsParam
"获取评论者列表"接口入参
Definition:
QChatGetCommentatorsParam.java:6
com.netease.nimlib.sdk.qchat.param.QChatGetMessageHistoryParam
"查询历史消息"接口入参
Definition:
QChatGetMessageHistoryParam.java:8
com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam
检索消息的接口入参
Definition:
QChatSearchMsgByPageParam.java:11
com.netease.nimlib.sdk.qchat.result.QChatGetMessageThreadInfosResult
Definition:
QChatGetMessageThreadInfosResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatResendSystemNotificationParam
"重发系统通知"接口入参
Definition:
QChatResendSystemNotificationParam.java:9
com.netease.nimlib.sdk.qchat.model
Definition:
QChatPushConfig.java:1
com.netease.nimlib.sdk.qchat.result.QChatSendTypingEventResult
发送正在输入事件结果
Definition:
QChatSendTypingEventResult.java:9
com.netease.nimlib.sdk.qchat.result.QChatSendMessageResult
Definition:
QChatSendMessageResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatDeleteMessageParam
"删除消息"接口入参
Definition:
QChatDeleteMessageParam.java:8
com.netease.nimlib.sdk.qchat.model.QChatMessageCache
Definition:
QChatMessageCache.java:5
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.result.QChatGetMentionedMeMessagesResult
分页查询指定频道@我的消息接口 结果
Definition:
QChatGetMentionedMeMessagesResult.java:10
com.netease.nimlib.sdk.qchat.result.QChatUpdateSystemNotificationResult
Definition:
QChatUpdateSystemNotificationResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatGetLastMessageOfChannelsParam
"查询历史消息"接口入参
Definition:
QChatGetLastMessageOfChannelsParam.java:9
com.netease.nimlib.sdk.qchat.param.QChatReplyMessageParam
"回复消息"接口入参
Definition:
QChatReplyMessageParam.java:9
com.netease.nimlib.sdk.qchat.param.QChatGetReferMessagesParam
Definition:
QChatGetReferMessagesParam.java:7
com.netease.nimlib.sdk.qchat.result.QChatDeleteMessageResult
Definition:
QChatDeleteMessageResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatUpdateSystemNotificationParam
"更新系统通知"接口入参
Definition:
QChatUpdateSystemNotificationParam.java:12
com.netease.nimlib.sdk.qchat.param.QChatRevokeMessageParam
"撤回消息"接口入参
Definition:
QChatRevokeMessageParam.java:8
com.netease.nimlib.sdk.qchat.param.QChatAddQuickCommentParam
Definition:
QChatAddQuickCommentParam.java:6
com.netease.nimlib.sdk.qchat.result
Definition:
QChatLeaveServerAsVisitorResult.java:1
com.netease.nimlib.sdk.qchat.param.QChatGetQuickCommentsParam
Definition:
QChatGetQuickCommentsParam.java:7
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult
检索消息的接口 结果
Definition:
QChatSearchMsgByPageResult.java:10
com.netease.nimlib.sdk.qchat.result.QChatUpdateMessageResult
Definition:
QChatUpdateMessageResult.java:7
com.netease.nimlib.sdk.qchat.param.QChatMarkSystemNotificationsReadParam
"标记系统通知已读"接口入参
Definition:
QChatMarkSystemNotificationsReadParam.java:14
com.netease.nimlib
com.netease.nimlib.sdk.qchat.param.QChatResendMessageParam
"重发消息"接口入参
Definition:
QChatResendMessageParam.java:10
com.netease.nimlib.sdk.qchat.param.QChatGetMessageThreadInfosParam
Definition:
QChatGetMessageThreadInfosParam.java:7
com.netease.nimlib.sdk.qchat.result.QChatGetCommentatorsResult
Definition:
QChatGetCommentatorsResult.java:8
生成于 2024年 七月 4日 星期四 17:33:52 , 为 NIMSDK-AOS使用
1.8.13