insert Outgoing Message
Inserts a message into the local conversation with the direction set to sent.
This message is only inserted into the local conversation and will not be actually sent to the server or the recipient.
The inserted message must be a persisted message, i.e., ISPERSISTED, otherwise it will trigger the callback RC_INVALID_PARAMETER_MSG_TAG.
Since
5.1.1
Parameters
The type of the conversation.
The ID of the conversation. For private conversations, it is the ID of the recipient; for group conversations, it is the group ID; for discussion group conversations, it is the ID of the discussion group.
The business identifier of the conversation to which the message belongs.
The sending status Message.SentStatus.
The content of the message. Such as io.rong.message.TextMessage, etc.
The sending time of the message getSentTime.
The callback to obtain the message sending entity.
Since
5.2.4