obtain

public final RTCMessage obtain(String targetId, Integer conversationType, RTCMessageContent content)

Creates an RTCMessage instance.

Return

RTCMessage instance.

Parameters

targetId

Target ID

conversationType

Conversation type

content

Message content