Group Notification Message
Group Notification Message Class
This class represents group notification messages. These messages are stored but do not count towards the unread message count.
Properties
Link copied to clipboard
New member joins the group.
Link copied to clipboard
Group announcement updated.
Link copied to clipboard
Create a group.
Link copied to clipboard
Disband the group.
Link copied to clipboard
Join.
Link copied to clipboard
Member was kicked out by the administrator.
Link copied to clipboard
Remove administrator.
Link copied to clipboard
Remove the administrator and display it.
Link copied to clipboard
Set as administrator.
Link copied to clipboard
Disable group member protection.
Link copied to clipboard
Enable group member protection.
Link copied to clipboard
Member exits the group.
Link copied to clipboard
Rename the group.
Link copied to clipboard
Transfer group ownership.
Link copied to clipboard
Operator UserId, which can be empty;
Functions
Link copied to clipboard
Link copied to clipboard
Retrieves the operation information, which can be empty, e.g., You were kicked out of the group by xxx.
Link copied to clipboard
Retrieves the operation name, which corresponds to GroupOperationXxxx or any arbitrary string.
Link copied to clipboard
Retrieves the operator's UserId, which can be empty.
Link copied to clipboard
public static GroupNotificationMessage obtain(String operatorUserId, String operation, String data, String message)
Link copied to clipboard
Sets the operation information, which can be empty, e.g., You were removed from the group by xxx.
Link copied to clipboard
Sets the operation name, which corresponds to GroupOperationXxxx or any string.
Link copied to clipboard
Sets the operator's UserId, which can be empty.
Link copied to clipboard