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 

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 

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 

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 

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 

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 

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 

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 

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 

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 

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 

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.

◆ V2TIMTopicPermissionValue

Topic permission capability bits.

Enumerator
V2TIM_TOPIC_PERMISSION_MANAGE_TOPIC 

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 

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 

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 

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 

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 

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 

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.