Public Member Functions | |
V2TIMTopicInfo () | |
V2TIMTopicInfo (const V2TIMTopicInfo &topicInfo) | |
V2TIMTopicInfo & | operator= (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 |
V2TIMMessage * | lastMessage |
uint64_t | readSequence |
V2TIMGroupAtInfoVector | groupAtInfoList |
uint32_t | createTime |
uint64_t | defaultPermissions |
uint32_t | modifyFlag |
V2TIMTopicInfo | ( | ) |
V2TIMTopicInfo | ( | const V2TIMTopicInfo & | topicInfo | ) |
~V2TIMTopicInfo | ( | ) |
V2TIMTopicInfo& operator= | ( | const V2TIMTopicInfo & | topicInfo | ) |
V2TIMString topicID |
Topic ID. The topic ID can only be set when creating or modifying topic information. The composition method is: community ID + @TOPIC_xxx. For example, if the community ID is @TGS_123, then the topic ID is @TGS_123@TOPIC_xxx.
V2TIMString topicName |
Topic name The maximum length of the topic name is 150 bytes, encoded in UTF-8.
V2TIMString topicFaceURL |
Topic face The maximum length of the topic face url is 500 bytes, encoded in UTF-8.
V2TIMString introduction |
Topic introduction The maximum length of the topic introduction is 400 bytes, encoded in UTF-8.
V2TIMString notification |
Topic notification The maximum length of the toic notification is 400 bytes, encoded in UTF-8.
bool isAllMuted |
Whether to mute all members of this topic.
uint32_t selfMuteTime |
Current user's mute time in the topic.
V2TIMString customString |
Topic custom String.
V2TIMReceiveMessageOpt recvOpt |
Current user's message receiving option in the topic. To modify the topic message receiving option, please call the setGroupReceiveMessageOpt API.
V2TIMString draftText |
Topic draft.
uint64_t unreadCount |
Current user's unread message count in the topic.
V2TIMMessage* lastMessage |
Topic lastMessage.
uint64_t readSequence |
Sequence of the latest message which has been read. supported only in 7.8 and later versions.
V2TIMGroupAtInfoVector groupAtInfoList |
Topic @ information list.
uint32_t createTime |
Topic create time.
uint64_t defaultPermissions |
Topic default permissions,supported only in 7.8 and later versions When the permission group is enabled (enablePermissionGroup = true) in V2TIMGroupInfo, the default permissions for group members who have not joined any permission groups will take effect.
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;