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

Public Member Functions

 V2TIMTopicInfo ()
 
 V2TIMTopicInfo (const V2TIMTopicInfo &topicInfo)
 
V2TIMTopicInfooperator= (const V2TIMTopicInfo &topicInfo)
 
 ~V2TIMTopicInfo ()
 

Data Fields

V2TIMString topicID
 
V2TIMString topicName
 
V2TIMString topicFaceURL
 
V2TIMString introduction
 
V2TIMString notification
 
bool isAllMuted
 
uint32_t selfMuteTime
 
V2TIMString customString
 
V2TIMReceiveMessageOpt recvOpt
 
V2TIMString draftText
 
uint64_t unreadCount
 
V2TIMMessagelastMessage
 
V2TIMGroupAtInfoVector groupAtInfoList
 
uint32_t modifyFlag
 

Constructor & Destructor Documentation

◆ V2TIMTopicInfo() [1/2]

◆ V2TIMTopicInfo() [2/2]

V2TIMTopicInfo ( const V2TIMTopicInfo topicInfo)

◆ ~V2TIMTopicInfo()

Member Function Documentation

◆ operator=()

V2TIMTopicInfo& operator= ( const V2TIMTopicInfo topicInfo)

Field Documentation

◆ topicID

V2TIMString topicID

Topic ID.

◆ topicName

V2TIMString topicName

Topic name.

◆ topicFaceURL

V2TIMString topicFaceURL

Topic face.

◆ introduction

V2TIMString introduction

Topic introduction.

◆ notification

V2TIMString notification

Topic notification.

◆ isAllMuted

bool isAllMuted

Whether to mute all members of this topic.

◆ selfMuteTime

uint32_t selfMuteTime

Current user's mute time in the topic.

◆ customString

V2TIMString customString

Topic custom String.

◆ recvOpt

Current user's message receiving option in the topic. To modify the topic message receiving option, please call the setGroupReceiveMessageOpt API.

◆ draftText

V2TIMString draftText

Topic draft.

◆ unreadCount

uint64_t unreadCount

Current user's unread message count in the topic.

◆ lastMessage

V2TIMMessage* lastMessage

Topic lastMessage.

◆ groupAtInfoList

V2TIMGroupAtInfoVector groupAtInfoList

Topic @ information list.

◆ modifyFlag

uint32_t modifyFlag

Topic info modification flag Enumeration V2TIMGroupInfoModifyFlag lists which fields support modification, if you modify group information, please set the value of this field, if you modify multiple fields at the same time, multiple enumeration values ​​are combined by bitwise OR, for example, modify the group name and avatar at the same time. info.groupName = "new group name"; info.faceURL = "new face url"; info.modifyFlag = V2TIM_GROUP_INFO_MODIFY_FLAG_GROUP_NAME | V2TIM_GROUP_INFO_MODIFY_FLAG_FACE_URL;