Skip to content

Commit

Permalink
feat: add field groupAtInfo in AfterSendGroupMsgCallback (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antenbabby authored Aug 21, 2024
1 parent c7f2816 commit 9fc1ebf
Show file tree
Hide file tree
Showing 9 changed files with 56 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If you're using Maven, just add the following dependency in `pom.xml`.
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.05</version>
<version>0.4.06</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.05</version>
<version>0.4.06</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 介绍

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

## 前提条件

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
<dependency>
<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.05</version>
<version>0.4.06</version>
</dependency>
```

### Gradle

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

### 下载 JAR
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qcloud-im-server-sdk-java",
"version": "0.4.05",
"version": "0.4.06",
"description": "腾讯云 IM 服务端 SDK API 文档 Java 版",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.doocs</groupId>
<artifactId>im-server-sdk-java</artifactId>
<version>0.4.05</version>
<version>0.4.06</version>
<packaging>jar</packaging>

<name>qcloud-im-server-sdk-java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,44 @@ public class AfterSendGroupMsgCallback implements Serializable {
@JsonProperty("EventTime")
private Long eventTime;

/**
* 群组@信息
*/
@JsonProperty("GroupAtInfo")
private List<GroupAtInfoItem> groupAtInfo;


private static class GroupAtInfoItem {
/**
* 群组@全体成员标识,0-非全体@,1-全体@
*/
@JsonProperty("GroupAtAllFlag")
private Integer groupAtAllFlag;

/**
* 被@的群成员 UserID
*/
@JsonProperty("GroupAt_Account")
private String groupAtAccount;

public Integer getGroupAtAllFlag() {
return groupAtAllFlag;
}

public void setGroupAtAllFlag(Integer groupAtAllFlag) {
this.groupAtAllFlag = groupAtAllFlag;
}

public String getGroupAtAccount() {
return groupAtAccount;
}

public void setGroupAtAccount(String groupAtAccount) {
this.groupAtAccount = groupAtAccount;
}

}

public String getCallbackCommand() {
return callbackCommand;
}
Expand Down Expand Up @@ -196,4 +234,12 @@ public Long getEventTime() {
public void setEventTime(Long eventTime) {
this.eventTime = eventTime;
}

public List<GroupAtInfoItem> getGroupAtInfo() {
return groupAtInfo;
}

public void setGroupAtInfo(List<GroupAtInfoItem> groupAtInfo) {
this.groupAtInfo = groupAtInfo;
}
}
2 changes: 1 addition & 1 deletion src/main/resources/version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.4.05
version=0.4.06

0 comments on commit 9fc1ebf

Please sign in to comment.