◆ getType()
Get the group profile change message type
- Returns
- Group profile change message type
◆ getValue()
Value has different meanings depending on the change type. For example, when type is V2TIMGroupChangeInfo.V2TIM_GROUP_INFO_CHANGE_TYPE_NAME, value indicates the new group name.
- Returns
- Message content
◆ getBoolValue()
BoolValue has different meanings depending on the change type. It is valid when type is V2TIM_GROUP_INFO_CHANGE_TYPE_SHUT_UP_ALL or V2TIM_GROUP_INFO_CHANGE_TYPE_ENABLE_PERMISSION_GROUP.
- Returns
◆ getIntValue()
IntValue has different meanings depending on the change type
- Attention
- Only valid for the following types:
- When type is V2TIM_GROUP_INFO_CHANGE_TYPE_RECEIVE_MESSAGE_OPT, this field indicates that the group message receiving option has changed;
- When type is V2TIM_GROUP_INFO_CHANGE_TYPE_GROUP_ADD_OPT, this field indicates that the approval option for applying for group addition has changed;
- When type is V2TIM_GROUP_INFO_CHANGE_TYPE_GROUP_APPROVE_OPT, this field indicates that the approval option for inviting into the group has changed.
◆ getLongValue()
LongValue has different meanings depending on the change type(valid only when type is V2TIM_GROUP_INFO_CHANGE_TYPE_DEFAULT_PERMISSIONS)
◆ getKey()
Value of key of the custom field modified (valid only when type is V2TIMGroupChangeInfo.V2TIM_GROUP_INFO_CHANGE_TYPE_CUSTOM) For historical reasons, if only the custom group field is modified, the current message will not be saved to the roaming server or database.
- Returns
- Value of key of the custom field
◆ V2TIM_GROUP_INFO_INVALID
final int V2TIM_GROUP_INFO_INVALID = 0 |
|
static |
Invalid value
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_NAME
final int V2TIM_GROUP_INFO_CHANGE_TYPE_NAME = 1 |
|
static |
Change the group name
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_INTRODUCTION
final int V2TIM_GROUP_INFO_CHANGE_TYPE_INTRODUCTION = 2 |
|
static |
Modify the group introduction
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_NOTIFICATION
final int V2TIM_GROUP_INFO_CHANGE_TYPE_NOTIFICATION = 3 |
|
static |
Modify the group notice
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_FACE_URL
final int V2TIM_GROUP_INFO_CHANGE_TYPE_FACE_URL = 4 |
|
static |
Modify the group profile photo
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_OWNER
final int V2TIM_GROUP_INFO_CHANGE_TYPE_OWNER = 5 |
|
static |
Change the group owner
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_CUSTOM
final int V2TIM_GROUP_INFO_CHANGE_TYPE_CUSTOM = 6 |
|
static |
Change the custom group field
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_SHUT_UP_ALL
final int V2TIM_GROUP_INFO_CHANGE_TYPE_SHUT_UP_ALL = 8 |
|
static |
Change the group muting field
- Attention
- Supported in versions later than 5.6.1200
- Backend configuration required
- The new value can be obtained via the getBoolValue API
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_TOPIC_CUSTOM_DATA
final int V2TIM_GROUP_INFO_CHANGE_TYPE_TOPIC_CUSTOM_DATA = 9 |
|
static |
Change the topic custom data field
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_RECEIVE_MESSAGE_OPT
final int V2TIM_GROUP_INFO_CHANGE_TYPE_RECEIVE_MESSAGE_OPT = 10 |
|
static |
Change the group message receive option field
- Attention
- Supported only in imsdk 6.5 and later versions
- The new value can be obtained via the getIntValue API
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_GROUP_ADD_OPT
final int V2TIM_GROUP_INFO_CHANGE_TYPE_GROUP_ADD_OPT = 11 |
|
static |
In the mode of applying to join the group, the administrator approval option has changed
- Attention
- Supported only in imsdk 6.5 and later versions
- The new value can be obtained via the getIntValue API
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_GROUP_APPROVE_OPT
final int V2TIM_GROUP_INFO_CHANGE_TYPE_GROUP_APPROVE_OPT = 12 |
|
static |
In the mode of inviting into the group, the administrator's approval option has changed
- Attention
- Supported only in imsdk 7.1 and later versions
- The new value can be obtained via the getIntValue API
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_ENABLE_PERMISSION_GROUP
final int V2TIM_GROUP_INFO_CHANGE_TYPE_ENABLE_PERMISSION_GROUP = 13 |
|
static |
Change the enable permission group field
- Attention
- Supported only in imsdk 7.8 and later versions
- The new value can be obtained via the getBoolValue API
◆ V2TIM_GROUP_INFO_CHANGE_TYPE_DEFAULT_PERMISSIONS
final int V2TIM_GROUP_INFO_CHANGE_TYPE_DEFAULT_PERMISSIONS = 14 |
|
static |
Change the group default permissions field
- Attention
- Supported only in imsdk 7.8 and later versions
- The new value can be obtained via the getLongValue API