obtain
Constructor.
Return
Message object
Parameters
target Id
Conversation ID
type
Conversation type
content
Message content
Constructor.
Return
Message object
Parameters
conversation Identifier
Conversation identifier
content
Message content
public static Message obtain(String targetId, ConversationType type, String channelId, MessageContent content)
Constructor.
Return
Message object
Parameters
target Id
Conversation ID
type
Conversation type
channel Id
Conversation channel ID
content
Message content