obtain
public static ContactNotificationMessage obtain(String operation, String sourceUserId, String targetUserId, String message)
Creates a message instance.
Return
The message instance.
Parameters
operation
The operation name, corresponding to ContactOperationXxxx, or any custom string.
source User Id
The UserId of the requester or responder.
target User Id
The UserId of the requestee or responsee.
message
The request or response message, such as the reason for adding or rejecting.