Properties | |
NSString * | groupID |
NSString * | groupType |
BOOL | isSupportTopic |
NSString * | groupName |
NSString * | notification |
NSString * | introduction |
NSString * | faceURL |
BOOL | allMuted |
NSDictionary< NSString *, NSData * > * | customInfo |
NSString * | owner |
uint32_t | createTime |
V2TIMGroupAddOpt | groupAddOpt |
V2TIMGroupAddOpt | groupApproveOpt |
uint32_t | lastInfoTime |
uint32_t | lastMessageTime |
uint32_t | memberCount |
uint32_t | onlineCount |
uint32_t | memberMaxCount |
uint32_t | role |
V2TIMReceiveMessageOpt | recvOpt |
uint32_t | joinTime |
BOOL | enablePermissionGroup |
uint64_t | defaultPermissions |
|
readwritenonatomicstrong |
Group ID
|
readwritenonatomicstrong |
Group type.
|
readwritenonatomicassign |
Whether to enable topic creation for a community group
|
readwritenonatomicstrong |
Group name
|
readwritenonatomicstrong |
Group notice
|
readwritenonatomicstrong |
Group introduction
|
readwritenonatomicstrong |
Group profile photo URL
|
readwritenonatomicassign |
Whether to mute all group members.
|
readwritenonatomicstrong |
Get custom group fields To set a custom group field, perform the following steps:
1. Go to the console (Configuration -> Group configuration -> Custom Group Field) to set the key (string, max 16 bytes) of the custom group field.
2. Call the setGroupInfo API to set the field. The field value is of the NSData type, with a maximum length of 512 bytes.
|
readnonatomicstrong |
Group owner ID.
|
readnonatomicassign |
UTC timestamp of group creation.
|
readwritenonatomicassign |
Get or set whether admin approval is required to join the group This API can be called during group creation or group information modification. For work groups, the default value is V2TIM_GROUP_ADD_FORBID (users cannot request to join the group), which can be modified.
|
readwritenonatomicassign |
Get or set the approval method for inviting new group members. This field can be set during group creation or group information modification. Except for work groups, the default value for all group types is V2TIM_GROUP_ADD_FORBID (no one can be invited to the group). For AVChatRoom, Community, and topics, the default value cannot be modified.
|
readnonatomicassign |
Get the UTC timestamp when the group information was last modified.
|
readnonatomicassign |
Get the last time a message was sent in the group.
|
readnonatomicassign |
Number of members that have joined the group.
|
readnonatomicassign |
Get the number of online group members (This has been deprecated. Please call getGroupOnlineMemberCount instead.)
|
readnonatomicassign |
Maximum number of group members allowed to join
|
readnonatomicassign |
Group member role of current user(V2TIMGroupMemberRole). To switch the role, please call the setGroupMemberRole API.
|
readnonatomicassign |
Current user's message receiving option in the group. To modify the group message receiving option, please call the setGroupReceiveMessageOpt API.
|
readnonatomicassign |
Get the time when the current user joined the group. The time is automatically generated by the system and cannot be modified.
|
readwritenonatomicassign |
Whether to enable permission groups (only supported for community groups since v7.8) When permission groups are enabled, admin permissions will become invalid, and communities and topics will be managed by group permissions, topic permissions, and permission groups.
|
readwritenonatomicassign |
The default permissions (only supported for community groups since v7.8) This API sets the default permissions for group members who have not joined any permission groups (only when permission groups are enabled, i.e., enablePermissionGroup = YES).