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.
V2TIMCommunityListener

Public Member Functions

 V2TIMCommunityListener ()
 
virtual ~V2TIMCommunityListener ()
 
virtual void OnCreateTopic (const V2TIMString &groupID, const V2TIMString &topicID)
 
virtual void OnDeleteTopic (const V2TIMString &groupID, const V2TIMStringVector &topicIDList)
 
virtual void OnChangeTopicInfo (const V2TIMString &groupID, const V2TIMTopicInfo &topicInfo)
 
virtual void OnReceiveTopicRESTCustomData (const V2TIMString &topicID, const V2TIMBuffer &customData)
 
virtual void OnCreatePermissionGroup (const V2TIMString &groupID, const V2TIMPermissionGroupInfo &permissionGroupInfo)
 
virtual void OnDeletePermissionGroup (const V2TIMString &groupID, const V2TIMStringVector &permissionGroupIDList)
 
virtual void OnChangePermissionGroupInfo (const V2TIMString &groupID, const V2TIMPermissionGroupInfo &permissionGroupInfo)
 
virtual void OnAddMembersToPermissionGroup (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringVector &memberIDList)
 
virtual void OnRemoveMembersFromPermissionGroup (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringVector &memberIDList)
 
virtual void OnAddTopicPermission (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringToUint64Map &topicPermissionMap)
 
virtual void OnDeleteTopicPermission (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringVector &topicIDList)
 
virtual void OnModifyTopicPermission (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringToUint64Map &topicPermissionMap)
 

Constructor & Destructor Documentation

◆ V2TIMCommunityListener()

◆ ~V2TIMCommunityListener()

virtual ~V2TIMCommunityListener ( )
virtual

Member Function Documentation

◆ OnCreateTopic()

virtual void OnCreateTopic ( const V2TIMString groupID,
const V2TIMString topicID 
)
inlinevirtual

Topic created

Parameters
groupIDGroup id of Community
gopicIDTopic id in Community

◆ OnDeleteTopic()

virtual void OnDeleteTopic ( const V2TIMString groupID,
const V2TIMStringVector topicIDList 
)
inlinevirtual

Topic deleted

Parameters
groupIDGroup id of Community
topicIDListTopic id list in Community

◆ OnChangeTopicInfo()

virtual void OnChangeTopicInfo ( const V2TIMString groupID,
const V2TIMTopicInfo topicInfo 
)
inlinevirtual

Topic information modified (received by all members)

Parameters
groupIDGroup id of Community
topicInfoTopic information

◆ OnReceiveTopicRESTCustomData()

virtual void OnReceiveTopicRESTCustomData ( const V2TIMString topicID,
const V2TIMBuffer customData 
)
inlinevirtual

Received a custom system message delivered via the RESTful API

Parameters
topicIDTopic ID
customDataCustom data

◆ OnCreatePermissionGroup()

virtual void OnCreatePermissionGroup ( const V2TIMString groupID,
const V2TIMPermissionGroupInfo permissionGroupInfo 
)
inlinevirtual

Permission group created

◆ OnDeletePermissionGroup()

virtual void OnDeletePermissionGroup ( const V2TIMString groupID,
const V2TIMStringVector permissionGroupIDList 
)
inlinevirtual

Permission group deleted

◆ OnChangePermissionGroupInfo()

virtual void OnChangePermissionGroupInfo ( const V2TIMString groupID,
const V2TIMPermissionGroupInfo permissionGroupInfo 
)
inlinevirtual

Permission group info changed

◆ OnAddMembersToPermissionGroup()

virtual void OnAddMembersToPermissionGroup ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringVector memberIDList 
)
inlinevirtual

Members were added to a permission group

◆ OnRemoveMembersFromPermissionGroup()

virtual void OnRemoveMembersFromPermissionGroup ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringVector memberIDList 
)
inlinevirtual

Members were removed from a permission group

◆ OnAddTopicPermission()

virtual void OnAddTopicPermission ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringToUint64Map topicPermissionMap 
)
inlinevirtual

A topic permission was added

◆ OnDeleteTopicPermission()

virtual void OnDeleteTopicPermission ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringVector topicIDList 
)
inlinevirtual

A topic permission was deleted

◆ OnModifyTopicPermission()

virtual void OnModifyTopicPermission ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringToUint64Map topicPermissionMap 
)
inlinevirtual

A topic permission was modified