◆ getGroupID()
Get the group ID
- Returns
- Group ID
◆ getType()
Get the group event notification type
- Returns
- Group event notification type
◆ getOpMember()
Get the operator
- Returns
- Operator
◆ getMemberList()
Get the list of users to be operated on
- Returns
- List of users to be operated on
◆ getGroupChangeInfoList()
◆ getMemberChangeInfoList()
◆ getMemberCount()
◆ toString()
Operator platform information Value: iOS Android Windows Mac Simulator Other
- Returns
- Operator platform information
◆ getNextElem()
◆ appendElem()
Add the next element
To configure multiple elements, after creating a Message object, you can add the next element via the element object of Message.
The following is the sample code for creating V2TIMTextElem and V2TIMCustomElem:
V2TIMMessage message = V2TIMManager.getMessageManager().createTextMessage("test");
V2TIMCustomElem customElem = new V2TIMCustomElem();
customElem.setData("Custom message".getBytes());
message.getTextElem().appendElem(customElem);
- Attention
- This API can be called only by elements of a Message object created via createMessage.
- This API can be used to add V2TIMTextElem, V2TIMCustomElem, V2TIMFaceElem, or V2TIMLocationElem.
◆ GROUP_TIPS_TYPE_INVALID
final int GROUP_TIPS_TYPE_INVALID = 0 |
|
static |
◆ V2TIM_GROUP_TIPS_TYPE_JOIN
final int V2TIM_GROUP_TIPS_TYPE_JOIN = 1 |
|
static |
Proactively join a group (memberList joins a group; valid only for non-Work groups)
◆ V2TIM_GROUP_TIPS_TYPE_INVITE
final int V2TIM_GROUP_TIPS_TYPE_INVITE = 2 |
|
static |
Be invited to a group (opMember invites memberList to join a group; supports all group types except AVChatRoom from version 8.0)
◆ V2TIM_GROUP_TIPS_TYPE_QUIT
final int V2TIM_GROUP_TIPS_TYPE_QUIT = 3 |
|
static |
Quit a group
◆ V2TIM_GROUP_TIPS_TYPE_KICKED
final int V2TIM_GROUP_TIPS_TYPE_KICKED = 4 |
|
static |
Be kicked out of a group (opMember kicks memberList out of the group)
◆ V2TIM_GROUP_TIPS_TYPE_SET_ADMIN
final int V2TIM_GROUP_TIPS_TYPE_SET_ADMIN = 5 |
|
static |
Set an admin (opMember sets memberList as an admin)
◆ V2TIM_GROUP_TIPS_TYPE_CANCEL_ADMIN
final int V2TIM_GROUP_TIPS_TYPE_CANCEL_ADMIN = 6 |
|
static |
Cancel an admin (opMember cancels memberList as an admin)
◆ V2TIM_GROUP_TIPS_TYPE_GROUP_INFO_CHANGE
final int V2TIM_GROUP_TIPS_TYPE_GROUP_INFO_CHANGE = 7 |
|
static |
Group profile change (opMember modifies group information:groupName & introduction & notification & faceUrl & owner & allMute & custom)
◆ V2TIM_GROUP_TIPS_TYPE_MEMBER_INFO_CHANGE
final int V2TIM_GROUP_TIPS_TYPE_MEMBER_INFO_CHANGE = 8 |
|
static |
Group member profile change (opMember modifies group member information:muteTime)
◆ V2TIM_GROUP_TIPS_TYPE_TOPIC_INFO_CHANGE
final int V2TIM_GROUP_TIPS_TYPE_TOPIC_INFO_CHANGE = 9 |
|
static |
Topic profile change(opMember modifies topic information:topicName & introduction & notification & faceUrl & allMute & topicCustomData)
◆ V2TIM_GROUP_TIPS_TYPE_PINNED_MESSAGE_ADDED
final int V2TIM_GROUP_TIPS_TYPE_PINNED_MESSAGE_ADDED = 10 |
|
static |
Pinned group messages
◆ V2TIM_GROUP_TIPS_TYPE_PINNED_MESSAGE_DELETED
final int V2TIM_GROUP_TIPS_TYPE_PINNED_MESSAGE_DELETED = 11 |
|
static |
Cancel pinned group messages