From 44fc285b50b4342bcbc3d4b3a5c0b5d1034aefbb Mon Sep 17 00:00:00 2001 From: yanglbme Date: Thu, 4 Jul 2024 16:27:58 +0800 Subject: [PATCH] build: release v0.4.04 --- README.md | 2 +- README_CN.md | 2 +- docs/guide/README.md | 2 +- docs/guide/quickstart.md | 4 +-- package-lock.json | 4 +-- package.json | 2 +- pom.xml | 2 +- .../callback/BeforeCreateGroupCallback.java | 30 +++++++++++++++++++ src/main/resources/version.properties | 2 +- 9 files changed, 40 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 63a8967..7ca4145 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ If you're using Maven, just add the following dependency in `pom.xml`. io.github.doocs im-server-sdk-java - 0.4.03 + 0.4.04 ``` diff --git a/README_CN.md b/README_CN.md index 02f30ef..10f865e 100644 --- a/README_CN.md +++ b/README_CN.md @@ -26,7 +26,7 @@ io.github.doocs im-server-sdk-java - 0.4.03 + 0.4.04 ``` diff --git a/docs/guide/README.md b/docs/guide/README.md index af24809..676a0ed 100644 --- a/docs/guide/README.md +++ b/docs/guide/README.md @@ -1,6 +1,6 @@ # 介绍 -本文档基于腾讯云 IM Server SDK Java 编写。 +本文档基于腾讯云 IM Server SDK Java 编写。 ## 前提条件 diff --git a/docs/guide/quickstart.md b/docs/guide/quickstart.md index 89f5060..8762352 100644 --- a/docs/guide/quickstart.md +++ b/docs/guide/quickstart.md @@ -10,14 +10,14 @@ io.github.doocs im-server-sdk-java - 0.4.03 + 0.4.04 ``` ### Gradle ```gradle -implementation group: 'io.github.doocs', name: 'im-server-sdk-java', version: '0.4.03' +implementation group: 'io.github.doocs', name: 'im-server-sdk-java', version: '0.4.04' ``` ### 下载 JAR diff --git a/package-lock.json b/package-lock.json index 44c3362..db3411e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "qcloud-im-server-sdk-java", - "version": "0.4.03", + "version": "0.4.04", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "qcloud-im-server-sdk-java", - "version": "0.4.03", + "version": "0.4.04", "license": "Apache-2.0", "devDependencies": { "@vuepress/bundler-vite": "^2.0.0-rc.13", diff --git a/package.json b/package.json index 150643d..db57358 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qcloud-im-server-sdk-java", - "version": "0.4.03", + "version": "0.4.04", "description": "腾讯云 IM 服务端 SDK API 文档 Java 版", "main": "index.js", "scripts": { diff --git a/pom.xml b/pom.xml index 80705e3..1475b11 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.doocs im-server-sdk-java - 0.4.03 + 0.4.04 jar qcloud-im-server-sdk-java diff --git a/src/main/java/io/github/doocs/im/model/callback/BeforeCreateGroupCallback.java b/src/main/java/io/github/doocs/im/model/callback/BeforeCreateGroupCallback.java index 0f1f79b..9c8e9fe 100644 --- a/src/main/java/io/github/doocs/im/model/callback/BeforeCreateGroupCallback.java +++ b/src/main/java/io/github/doocs/im/model/callback/BeforeCreateGroupCallback.java @@ -4,6 +4,7 @@ import java.io.Serializable; import java.util.List; +import java.util.Map; /** * 创建群组之前回调 @@ -49,6 +50,19 @@ public class BeforeCreateGroupCallback implements Serializable { @JsonProperty("CreateGroupNum") private Integer createGroupNum; + /** + * 该用户已创建的不同类的群组个数 + */ + @JsonProperty("CreatedGroupNum") + private Map createdGroupNum; + + /** + * 选项 + * DisableInvite + */ + @JsonProperty("InviteOption") + private String inviteOption; + /** * 请求创建的群组的初始化成员列表 */ @@ -109,6 +123,22 @@ public void setCreateGroupNum(Integer createGroupNum) { this.createGroupNum = createGroupNum; } + public Map getCreatedGroupNum() { + return createdGroupNum; + } + + public void setCreatedGroupNum(Map createdGroupNum) { + this.createdGroupNum = createdGroupNum; + } + + public String getInviteOption() { + return inviteOption; + } + + public void setInviteOption(String inviteOption) { + this.inviteOption = inviteOption; + } + public List getMemberList() { return memberList; } diff --git a/src/main/resources/version.properties b/src/main/resources/version.properties index bf9d23b..e2e4dce 100644 --- a/src/main/resources/version.properties +++ b/src/main/resources/version.properties @@ -1 +1 @@ -version=0.4.03 +version=0.4.04