-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: group InviteJoinOption (#184)
add missing property InviteJoinOption for GroupInfo and CreateGroupRequest
- Loading branch information
Showing
4 changed files
with
80 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/java/io/github/doocs/im/constant/InviteJoinOption.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.github.doocs.im.constant; | ||
|
||
/** | ||
* 邀请加群权限 | ||
* | ||
* @author Joel | ||
* @since 2024/07/23 13:48 | ||
*/ | ||
public class InviteJoinOption { | ||
/** | ||
* 直接邀请用户进群,不需要审批等操作 | ||
*/ | ||
public static final String FREE_ACCESS = "FreeAccess"; | ||
|
||
/** | ||
* 需要群管理员或者群主审批 | ||
*/ | ||
public static final String NEED_PERMISSION = "NeedPermission"; | ||
|
||
/** | ||
* 不允许 SDK 邀请进群 | ||
*/ | ||
public static final String DISABLE_INVITE = "DisableInvite"; | ||
|
||
private InviteJoinOption() { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters