11
11
MsgInfo {
12
12
long getMsgId();// 消息Id
13
13
int getType();// 消息类型
14
- String getTalker();// 发送者(接收的 群聊Id/好友Id )
15
- String getSendTalker();// 发送者(群聊中 发送者Id)
14
+ String getTalker();// 聊天Id(群聊/私聊 )
15
+ String getSendTalker();// 发送者Id
16
16
String getContent();// 消息内容
17
+
17
18
String getMsgSource();// 消息来源
18
19
List<String > getAtUserList();// 艾特列表
19
-
20
20
boolean isAnnounceAll();// 公告通知全体
21
21
boolean isNotifyAll();// 艾特通知全体
22
22
boolean isAtMe();// 艾特我
23
-
23
+
24
+ QuoteMsg getQuoteMsg();// 引用消息
25
+ PatMsg getPatMsg();// 拍一拍消息
26
+
24
27
boolean isPrivateChat();// 私聊
25
28
boolean isGroupChat();// 群聊
26
29
boolean isOfficialAccount();// 公众号
27
30
boolean isOpenIM();// 企业微信
28
31
boolean isSend();// 自己发的
29
-
32
+
30
33
boolean isText();// 文本
31
34
boolean isImage();// 图片
32
35
boolean isVoice();// 语音
@@ -45,7 +48,31 @@ MsgInfo {
45
48
boolean isVideoNumberVideo();// 视频号视频
46
49
boolean isNote();// 接龙
47
50
boolean isQuote();// 引用
48
- boolean isPat()() ;// 拍一拍
51
+ boolean isPat();// 拍一拍
49
52
boolean isFile();// 文件
50
53
}
54
+
55
+ QuoteMsg {
56
+ String getMsgSource();// 消息来源
57
+ String getSvrId();
58
+ String getChatUsr();// 聊天Id(群聊/私聊)
59
+ String getCreateTime();// 创建时间
60
+ String getDisplayName();// 显示昵称
61
+ String getStrId();
62
+ String getFromUsr();// 发送者Id
63
+ String getType();// 消息类型
64
+ String getContent();// 消息内容
65
+ }
66
+
67
+ PatMsg {
68
+ String getChatUser();// 聊天Id(群聊/私聊)
69
+ String getRecordNum();
70
+ String getFromUser();// 发起者Id
71
+ String getPattedUser();// 被拍者Id
72
+ String getTemplate();// 模板内容
73
+ String getCreateTime();// 创建时间
74
+ String getReadStatus();
75
+ String getSvrId();
76
+ String getShowModifyTip();
77
+ }
51
78
```
0 commit comments