Public Member Functions | |
bool | IsInheritMessageReceiveOptionFromCommunity () |
void | SetInheritMessageReceiveOptionFromCommunity (bool isInherit, V2TIMCallback *callback) |
V2TIMTopicInfo () | |
V2TIMTopicInfo (const V2TIMTopicInfo &topicInfo) | |
V2TIMTopicInfo & | operator= (const V2TIMTopicInfo &topicInfo) |
~V2TIMTopicInfo () override | |
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 |
void * | obj_ptr |
V2TIMTopicInfo | ( | ) |
V2TIMTopicInfo | ( | const V2TIMTopicInfo & | topicInfo | ) |
|
override |
bool IsInheritMessageReceiveOptionFromCommunity | ( | ) |
Get whether the message receiving option for the topic is inherited from its community. This feature is available only in SDK enhanced edition v8.1 or later.
void SetInheritMessageReceiveOptionFromCommunity | ( | bool | isInherit, |
V2TIMCallback * | callback | ||
) |
Set whether the message receiving option for the topic is inherited from its community. This feature is available only in SDK enhanced edition v8.1 or later.
V2TIMTopicInfo& operator= | ( | const V2TIMTopicInfo & | topicInfo | ) |
V2TIMString topicID |
Topic ID. The topic ID can only be set when a topic is created or when the topic information is modified. The format 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 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 |
The list of @ messages in the topic.
uint32_t createTime |
Topic create time.
uint64_t defaultPermissions |
Topic default permissions,supported only in 7.8 and later versions This API sets the default permissions for members who have not joined any permission groups. It takes effect only when permission groups are enabled (enablePermissionGroup in V2TIMGroupInfo is true).
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;
|
inherited |