Skip to content

Commit 9fc1ebf

Browse files
authored
feat: add field groupAtInfo in AfterSendGroupMsgCallback (#185)
1 parent c7f2816 commit 9fc1ebf

File tree

9 files changed

+56
-10
lines changed

9 files changed

+56
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you're using Maven, just add the following dependency in `pom.xml`.
2626
<dependency>
2727
<groupId>io.github.doocs</groupId>
2828
<artifactId>im-server-sdk-java</artifactId>
29-
<version>0.4.05</version>
29+
<version>0.4.06</version>
3030
</dependency>
3131
```
3232

README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<dependency>
2727
<groupId>io.github.doocs</groupId>
2828
<artifactId>im-server-sdk-java</artifactId>
29-
<version>0.4.05</version>
29+
<version>0.4.06</version>
3030
</dependency>
3131
```
3232

docs/guide/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 介绍
22

3-
本文档基于腾讯云 IM Server SDK Java <Badge type="tip" text="v0.4.05" vertical="top" /> 编写。
3+
本文档基于腾讯云 IM Server SDK Java <Badge type="tip" text="v0.4.06" vertical="top" /> 编写。
44

55
## 前提条件
66

docs/guide/quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<dependency>
1111
<groupId>io.github.doocs</groupId>
1212
<artifactId>im-server-sdk-java</artifactId>
13-
<version>0.4.05</version>
13+
<version>0.4.06</version>
1414
</dependency>
1515
```
1616

1717
### Gradle
1818

1919
```gradle
20-
implementation group: 'io.github.doocs', name: 'im-server-sdk-java', version: '0.4.05'
20+
implementation group: 'io.github.doocs', name: 'im-server-sdk-java', version: '0.4.06'
2121
```
2222

2323
### 下载 JAR

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qcloud-im-server-sdk-java",
3-
"version": "0.4.05",
3+
"version": "0.4.06",
44
"description": "腾讯云 IM 服务端 SDK API 文档 Java 版",
55
"main": "index.js",
66
"scripts": {

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.doocs</groupId>
88
<artifactId>im-server-sdk-java</artifactId>
9-
<version>0.4.05</version>
9+
<version>0.4.06</version>
1010
<packaging>jar</packaging>
1111

1212
<name>qcloud-im-server-sdk-java</name>

src/main/java/io/github/doocs/im/model/callback/AfterSendGroupMsgCallback.java

+46
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,44 @@ public class AfterSendGroupMsgCallback implements Serializable {
9393
@JsonProperty("EventTime")
9494
private Long eventTime;
9595

96+
/**
97+
* 群组@信息
98+
*/
99+
@JsonProperty("GroupAtInfo")
100+
private List<GroupAtInfoItem> groupAtInfo;
101+
102+
103+
private static class GroupAtInfoItem {
104+
/**
105+
* 群组@全体成员标识,0-非全体@,1-全体@
106+
*/
107+
@JsonProperty("GroupAtAllFlag")
108+
private Integer groupAtAllFlag;
109+
110+
/**
111+
* 被@的群成员 UserID
112+
*/
113+
@JsonProperty("GroupAt_Account")
114+
private String groupAtAccount;
115+
116+
public Integer getGroupAtAllFlag() {
117+
return groupAtAllFlag;
118+
}
119+
120+
public void setGroupAtAllFlag(Integer groupAtAllFlag) {
121+
this.groupAtAllFlag = groupAtAllFlag;
122+
}
123+
124+
public String getGroupAtAccount() {
125+
return groupAtAccount;
126+
}
127+
128+
public void setGroupAtAccount(String groupAtAccount) {
129+
this.groupAtAccount = groupAtAccount;
130+
}
131+
132+
}
133+
96134
public String getCallbackCommand() {
97135
return callbackCommand;
98136
}
@@ -196,4 +234,12 @@ public Long getEventTime() {
196234
public void setEventTime(Long eventTime) {
197235
this.eventTime = eventTime;
198236
}
237+
238+
public List<GroupAtInfoItem> getGroupAtInfo() {
239+
return groupAtInfo;
240+
}
241+
242+
public void setGroupAtInfo(List<GroupAtInfoItem> groupAtInfo) {
243+
this.groupAtInfo = groupAtInfo;
244+
}
199245
}

src/main/resources/version.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=0.4.05
1+
version=0.4.06

0 commit comments

Comments
 (0)