params: json_msg_param (JSON string of the message)
param messageId
message_id: Buffer where the message ID string is stored. The size of the buffer cannot be less than 128 bytes. After the API is called, a message ID string ended with '\0' can be obtained. If no buffer is required, pass in null.
param callback
callback: Callback for indicating whether the new message is successfully sent
param user_data
user_data: User-defined data. The IM SDK only transfers the user data to the callback function result_cb without processing the data.
conv_id: Conversation ID
conv_type session type, please refer toTIMConvType
params: json_msg_param (JSON string of the message)
message_id: Buffer where the message ID string is stored. The size of the buffer cannot be less than 128 bytes. After the API is called, a message ID string ended with '\0' can be obtained. If no buffer is required, pass in null.
callback: Callback for indicating whether the new message is successfully sent
user_data: User-defined data. The IM SDK only transfers the user data to the callback function result_cb without processing the data.