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

Modify group information permissions. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_MEMBER = 0x1L << 1
static

Group member management permissions, including kicking, group audit, modifying member data, etc. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_INFO

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_INFO = 0x1L << 2
static

Manage permission group information permissions. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission. The permission includes creating, modifying, and deleting permission groups; adding, modifying, and deleting topic permissions in the permission group.

◆ V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_MEMBER = 0x1L << 3
static

Permission group member management permissions, including inviting members to the permission group and kicking members from the permission group, etc. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ 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. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_MUTE_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_MUTE_MEMBER = 0x1L << 5
static

Mute permission for specified group member in all topics under a community. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_SEND_MESSAGE

final long V2TIM_COMMUNITY_PERMISSION_SEND_MESSAGE = 0x1L << 6
static

Send message permission for all group members in all topics under a community. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_AT_ALL

final long V2TIM_COMMUNITY_PERMISSION_AT_ALL = 0x1L << 7
static

Send at all messages permission in all topics under a community. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_GET_HISTORY_MESSAGE

final long V2TIM_COMMUNITY_PERMISSION_GET_HISTORY_MESSAGE = 0x1L << 8
static

Pull historical messages before joining the group permission in all topics under a community. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE

final long V2TIM_COMMUNITY_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE = 0x1L << 9
static

Revoke others' messages permission in all topics under a community. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_COMMUNITY_PERMISSION_BAN_MEMBER

final long V2TIM_COMMUNITY_PERMISSION_BAN_MEMBER = 0x1L << 10
static

Ban community members permission. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC

final long V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC = 0x1L
static

Manage current topic permissions, including modifying and deleting topics. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC_PERMISSION

final long V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC_PERMISSION = 0x1L << 1
static

Manage topic permissions in the current topic, including adding, modifying, and removing topic permissions. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_MUTE_MEMBER

final long V2TIM_TOPIC_PERMISSION_MUTE_MEMBER = 0x1L << 2
static

Mute member permissions in the current topic. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_SEND_MESSAGE

final long V2TIM_TOPIC_PERMISSION_SEND_MESSAGE = 0x1L << 3
static

Send message permissions in the current topic. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_GET_HISTORY_MESSAGE

final long V2TIM_TOPIC_PERMISSION_GET_HISTORY_MESSAGE = 0x1L << 4
static

Pull historical messages before joining the group in the current topic. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE

final long V2TIM_TOPIC_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE = 0x1L << 5
static

Withdrawal of other people's messages in the current topic. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.

◆ V2TIM_TOPIC_PERMISSION_AT_ALL

final long V2TIM_TOPIC_PERMISSION_AT_ALL = 0x1L << 6
static

When sending messages in the current topic, there is an at all permission. When set to 0, it means that there is no such permission; when set to 1, it means that there is such permission.