Instance Methods | |
(BOOL) | - isInheritMessageReceiveOptionFromCommunity |
(void) | - setInheritMessageReceiveOptionFromCommunity:succ:fail: |
Properties | |
NSString * | topicID |
NSString * | topicType |
NSString * | topicName |
NSString * | topicFaceURL |
NSString * | introduction |
NSString * | notification |
BOOL | isAllMuted |
uint32_t | selfMuteTime |
NSString * | customString |
V2TIMReceiveMessageOpt | recvOpt |
NSString * | draftText |
uint64_t | unreadCount |
V2TIMMessage * | lastMessage |
uint64_t | readSequence |
NSArray< V2TIMGroupAtInfo * > * | groupAtInfolist |
uint32_t | createTime |
V2TIMGroupAddOpt | groupAddOpt |
V2TIMGroupAddOpt | groupApproveOpt |
NSArray< V2TIMCreateGroupMemberInfo * > * | memberList |
uint32_t | memberMaxCount |
uint64_t | defaultPermissions |
- (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 | |
succ: | (V2TIMSucc) | succ | |
fail: | (V2TIMFail) | fail | |
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.
|
readwritenonatomicstrong |
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.
|
readwritenonatomicstrong |
Topic type (default is public topic) "Public" :public topic, community members can send messages directly in the topic. "Private" :private topic, has its own member list (supports up to 10,000 members), community members need to join the topic before they send message.
|
readwritenonatomicstrong |
Topic name The maximum length of the topic name is 150 bytes, encoded in UTF-8.
|
readwritenonatomicstrong |
Topic face The maximum length of the URL is 500 bytes, encoded in UTF-8.
|
readwritenonatomicstrong |
Topic introduction The maximum length of the topic introduction is 400 bytes, encoded in UTF-8.
|
readwritenonatomicstrong |
Topic notification The maximum length of the topic notification is 400 bytes, encoded in UTF-8.
|
readwritenonatomicassign |
Whether to mute all members of this topic.
|
readnonatomicassign |
Current user's mute time in the topic.
|
readwritenonatomicstrong |
Topic custom String.
|
readnonatomicassign |
Current user's message receiving option in the topic. To modify the topic message receiving option, please call the setGroupReceiveMessageOpt API.
|
readwritenonatomicstrong |
Topic draft.
|
readnonatomicassign |
Current user's unread message count in the topic.
|
readnonatomicstrong |
Topic lastMessage.
|
readnonatomicassign |
Sequence of the latest message which has been read. supported only in 7.8 and later versions.
|
readnonatomicstrong |
Topic @ information list.
|
readnonatomicassign |
Topic create time.
|
readwritenonatomicassign |
Get or set whether admin approval is required to join the group (valid for private topics)
|
readwritenonatomicassign |
Get or set the approval method for inviting new group members (valid for private topics)
|
readwritenonatomicstrong |
Topic default members (valid for private topics, can only be set when creating topic)
|
readwritenonatomicassign |
Topic maximum number of members (valid for private topics, can only be set when creating topic)
|
readwritenonatomicassign |
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).