obtain
public static ContactNotificationMessage obtain(String operation, String sourceUserId, String targetUserId, String message)
创建消息实例。
Return
消息实例。
Parameters
operation
操作名,对应 ContactOperationXxxx,或自己传任何字符串。
sourceUserId
请求者或者响应者的 UserId。
targetUserId
被请求者或者被响应者的 UserId。
message
请求或者响应消息,如添加理由或拒绝理由。