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.
V2TIMCommunity.h File Reference

Data Structures

struct  V2TIMTopicInfo
 
struct  V2TIMTopicOperationResult
 
struct  V2TIMTopicInfoResult
 
struct  V2TIMPermissionGroupInfo
 
struct  V2TIMPermissionGroupInfoResult
 
struct  V2TIMPermissionGroupOperationResult
 
struct  V2TIMPermissionGroupMemberInfoResult
 
struct  V2TIMPermissionGroupMemberOperationResult
 
struct  V2TIMTopicPermissionResult
 

Typedefs

typedef TXV2TIMTopicOperationResultVector V2TIMTopicOperationResultVector
 
typedef TXV2TIMTopicInfoResultVector V2TIMTopicInfoResultVector
 
typedef TXV2TIMPermissionGroupInfoResultVector V2TIMPermissionGroupInfoResultVector
 
typedef TXV2TIMPermissionGroupOperationResultVector V2TIMPermissionGroupOperationResultVector
 
typedef TXV2TIMPermissionGroupMemberOperationResultVector V2TIMPermissionGroupMemberOperationResultVector
 
typedef TXV2TIMTopicPermissionResultVector V2TIMTopicPermissionResultVector
 

Enumerations

enum  V2TIMTopicInfoModifyFlag
 
enum  V2TIMPermissionGroupInfoModifyFlag
 
enum  V2TIMCommunityPermissionValue
 
enum  V2TIMTopicPermissionValue
 

Typedef Documentation

◆ V2TIMTopicOperationResultVector

typedef TXV2TIMTopicOperationResultVector V2TIMTopicOperationResultVector

◆ V2TIMTopicInfoResultVector

typedef TXV2TIMTopicInfoResultVector V2TIMTopicInfoResultVector

◆ V2TIMPermissionGroupInfoResultVector

typedef TXV2TIMPermissionGroupInfoResultVector V2TIMPermissionGroupInfoResultVector

◆ V2TIMPermissionGroupOperationResultVector

typedef TXV2TIMPermissionGroupOperationResultVector V2TIMPermissionGroupOperationResultVector

◆ V2TIMPermissionGroupMemberOperationResultVector

typedef TXV2TIMPermissionGroupMemberOperationResultVector V2TIMPermissionGroupMemberOperationResultVector

◆ V2TIMTopicPermissionResultVector

typedef TXV2TIMTopicPermissionResultVector V2TIMTopicPermissionResultVector

Enumeration Type Documentation

◆ V2TIMTopicInfoModifyFlag

topic info modification flag

Enumerator
V2TIM_COMMUNITY_MODIFY_FLAG_UNKNOWN 

Unknown.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_NAME 

Topic name.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_NOTIFICATION 

Topic notification.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_INTRODUCTION 

Topic introduction.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_FACE_URL 

Topic face url.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_MUTE_ALL 

Mute all members in topic.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_CUSTOM_STRING 

Topic custom string.

V2TIM_COMMUNITY_MODIFY_FLAG_TOPIC_DRAFT 

Topic draft.

V2TIM_COMMUNITY_MODIFY_FLAG_DEFAULT_PERMISSIONS 

Topic default permissions,supported only in 7.8 and later versions.

◆ V2TIMPermissionGroupInfoModifyFlag

Permission group modification flag.

Enumerator
V2TIM_PERMISSION_MODIFY_FLAG_NONE 

NONE.

V2TIM_PERMISSION_MODIFY_FLAG_NAME 

Permission group name.

V2TIM_PERMISSION_MODIFY_FLAG_GROUP_PERMISSION 

Group permission.

V2TIM_PERMISSION_MODIFY_FLAG_CUSTOM_DATA 

Custom data.

◆ V2TIMCommunityPermissionValue

Community permission capability bits.

Enumerator
V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_INFO 

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 

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 

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 

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 

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 

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 

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 

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 

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 

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 

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_COMMUNITY_PERMISSION_MANAGE_GROUP_INFO 

修改群资料权限。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_COMMUNITY_PERMISSION_MANAGE_GROUP_MEMBER 

群成员管理权限,包含踢人,进群审核、修改成员资料等。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_INFO 

管理权限组资料权限,包含创建、修改、删除权限组;在权限组中添加、修改、删除话题权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

V2TIM_COMMUNITY_PERMISSION_MANAGE_PERMISSION_GROUP_MEMBER 

权限组成员管理权限,包含邀请成员进权限组和把成员从权限组踢出等。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_COMMUNITY_PERMISSION_MANAGE_TOPIC_IN_COMMUNITY 

话题管理权限,包含创建、修改、删除话题等。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_COMMUNITY_PERMISSION_MUTE_MEMBER 

对某群成员在社群下所有话题的禁言权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

V2TIM_COMMUNITY_PERMISSION_SEND_MESSAGE 

群成员在社群下所有话题的发消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

V2TIM_COMMUNITY_PERMISSION_AT_ALL 

在社群下所有话题发 at all 消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

V2TIM_COMMUNITY_PERMISSION_GET_HISTORY_MESSAGE 

在社群下所有话题拉取入群前的历史消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

V2TIM_COMMUNITY_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE 

在社群下所有话题撤回他人消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

V2TIM_COMMUNITY_PERMISSION_BAN_MEMBER 

封禁社群成员权限。该位设置为0,表示没有该权限;设置为1,表示有该权限。

◆ V2TIMTopicPermissionValue

Topic permission capability bits.

Enumerator
V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC 

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 

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 

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 

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 

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 

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 

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.

V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC 

管理当前话题的权限,包括修改当前话题的资料、删除当前话题。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC_PERMISSION 

在当前话题中管理话题权限,包括添加、修改、移除话题权限。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_TOPIC_PERMISSION_MUTE_MEMBER 

在当前话题中禁言成员权限。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_TOPIC_PERMISSION_SEND_MESSAGE 

在当前话题中发消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_TOPIC_PERMISSION_GET_HISTORY_MESSAGE 

在当前话题中拉取入群前的历史消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_TOPIC_PERMISSION_REVOKE_OTHER_MEMBER_MESSAGE 

在当前话题中撤回他人消息权限。该位设置为0,表示没有该权限;设置为1,表示有该权限

V2TIM_TOPIC_PERMISSION_AT_ALL 

在当前话题中发消息时有 at all 权限。该位设置为0,表示没有该权限;设置为1,表示有该权限