IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMPermissionGroupInfo

Public Member Functions

 V2TIMPermissionGroupInfo ()
 
String getGroupID ()
 
void setGroupID (String groupID)
 
String getPermissionGroupID ()
 
void setPermissionGroupID (String permissionGroupID)
 
String getPermissionGroupName ()
 
void setPermissionGroupName (String permissionGroupName)
 
String getCustomData ()
 
void setCustomData (String customData)
 
long getGroupPermission ()
 
void setGroupPermission (long groupPermission)
 
long getMemberCount ()
 
String toString ()
 

Static Public Attributes

static final long V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_INFO = 0x01L
 
static final long V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_MEMBER = 0x1L << 1
 
static final long V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_INFO = 0x1L << 2
 
static final long V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_MEMBER = 0x1L << 3
 
static final long V2TIM_COMMUNITY_PERMISSION_MANAGE_TOPIC_IN_COMMUNITY = 0x1L << 4
 
static final long V2TIM_COMMUNITY_PERMISSION_MUTE_MEMBER = 0x1L << 5
 
static final long V2TIM_COMMUNITY_PERMISSION_SEND_MESSAGE = 0x1L << 6
 
static final long V2TIM_COMMUNITY_PERMISSION_AT_ALL = 0x1L << 7
 
static final long V2TIM_COMMUNITY_PERMISSION_GET_HISTORY_MESSAGE = 0x1L << 8
 
static final long V2TIM_COMMUNITY_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE = 0x1L << 9
 
static final long V2TIM_COMMUNITY_PERMISSION_BAN_MEMBER = 0x1L << 10
 
static final long V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC = 0x1L
 
static final long V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC_PERMISSION = 0x1L << 1
 
static final long V2TIM_TOPIC_PERMISSION_MUTE_MEMBER = 0x1L << 2
 
static final long V2TIM_TOPIC_PERMISSION_SEND_MESSAGE = 0x1L << 3
 
static final long V2TIM_TOPIC_PERMISSION_GET_HISTORY_MESSAGE = 0x1L << 4
 
static final long V2TIM_TOPIC_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE = 0x1L << 5
 
static final long V2TIM_TOPIC_PERMISSION_AT_ALL = 0x1L << 6
 

Constructor & Destructor Documentation

◆ V2TIMPermissionGroupInfo()

Member Function Documentation

◆ getGroupID()

String getGroupID ( )
inline

Get group ID

◆ setGroupID()

void setGroupID ( String  groupID)
inline

Set group ID

◆ getPermissionGroupID()

String getPermissionGroupID ( )
inline

Get permission group ID

◆ setPermissionGroupID()

void setPermissionGroupID ( String  permissionGroupID)
inline

Set permission group ID

◆ getPermissionGroupName()

String getPermissionGroupName ( )
inline

Get permission group name

◆ setPermissionGroupName()

void setPermissionGroupName ( String  permissionGroupName)
inline

Set permission group name

◆ getCustomData()

String getCustomData ( )
inline

Get permission group custom data

◆ setCustomData()

void setCustomData ( String  customData)
inline

Set permission group custom data

◆ getGroupPermission()

long getGroupPermission ( )
inline

get group permission

◆ setGroupPermission()

void setGroupPermission ( long  groupPermission)
inline

Set group permission

◆ getMemberCount()

long getMemberCount ( )
inline

Get permission group member count

◆ toString()

String toString ( )
inline

Field Documentation

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_INFO

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_INFO = 0x01L
static

Permission to modify group information. If this is set to 0, the members do not have this permission. If it is set to 1, the members have this permission.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_MEMBER = 0x1L << 1
static

Group member management permissions, including removing members, approving new member requests, modifying member profile, etc. If this is set to 0, the members do not have the permission. If it is set to 1, the members have the permissions.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_INFO

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_INFO = 0x1L << 2
static

Permissions to manage permission groups, including creating, modifying, and deleting permission groups and topic permissions. If it is set to 0, the members do not have the permissions. If it is set to 1, the members have the permissions.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_MEMBER = 0x1L << 3
static

Permissions to manage permission group members, including inviting new members and removing existing members, etc. If it is set to 0, the members do not have the permissions. If it is set to 1, the members have the permissions.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_TOPIC_IN_COMMUNITY

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_TOPIC_IN_COMMUNITY = 0x1L << 4
static

Topic management permissions, including creating, modifying, and deleting topics, etc. If it is set to 0, the members do not have the permissions. If it is set to 1, the members have the permissions.

◆ V2TIM_COMMUNITY_PERMISSION_MUTE_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_MUTE_MEMBER = 0x1L << 5
static

Permission to mute a group member in all community topics. If it is set to 0, the members do not have the permissions. If it is set to 1, the members have the permissions.

◆ V2TIM_COMMUNITY_PERMISSION_SEND_MESSAGE

final long V2TIM_COMMUNITY_PERMISSION_SEND_MESSAGE = 0x1L << 6
static

Permission to send messages in all community topics. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_COMMUNITY_PERMISSION_AT_ALL

final long V2TIM_COMMUNITY_PERMISSION_AT_ALL = 0x1L << 7
static

Permission to send @all messages in all community topics. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_COMMUNITY_PERMISSION_GET_HISTORY_MESSAGE

final long V2TIM_COMMUNITY_PERMISSION_GET_HISTORY_MESSAGE = 0x1L << 8
static

Permission to pull messages sent in all community topics before joining the group. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_COMMUNITY_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE

final long V2TIM_COMMUNITY_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE = 0x1L << 9
static

Permission to recall others' messages in all community topics. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_COMMUNITY_PERMISSION_BAN_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_BAN_MEMBER = 0x1L << 10
static

Permission to ban a group member. If this is set to 0, the members do not have this permission. If it is set to 1, the members have this permission.

◆ V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC

final long V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC = 0x1L
static

Permissions to manage the current topic, including modifying topic information and deleting the topic. If it is set to 0, the members do not have the permissions. If it is set to 1, the members have the permissions.

◆ V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC_PERMISSION

final long V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC_PERMISSION = 0x1L << 1
static

Permissions to manage topic permissions in the current topic, including adding, modifying, and removing topic permissions. If it is set to 0, the members do not have the permissions. If it is set to 1, the members have the permissions.

◆ V2TIM_TOPIC_PERMISSION_MUTE_MEMBER

final long V2TIM_TOPIC_PERMISSION_MUTE_MEMBER = 0x1L << 2
static

Permission to mute members in the current topic. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_TOPIC_PERMISSION_SEND_MESSAGE

final long V2TIM_TOPIC_PERMISSION_SEND_MESSAGE = 0x1L << 3
static

Permission to send messages in the current topic. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_TOPIC_PERMISSION_GET_HISTORY_MESSAGE

final long V2TIM_TOPIC_PERMISSION_GET_HISTORY_MESSAGE = 0x1L << 4
static

Permission to pull messages sent in the current topic before joining the group. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_TOPIC_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE

final long V2TIM_TOPIC_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE = 0x1L << 5
static

Permission to recall others' messages in the current topic. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.

◆ V2TIM_TOPIC_PERMISSION_AT_ALL

final long V2TIM_TOPIC_PERMISSION_AT_ALL = 0x1L << 6
static

Permission to send @all messages in the current topic. If it is set to 0, the members do not have the permission. If it is set to 1, the members have the permission.