Skip to main content

Message-Related

Module Overview

info

SDK related to messaging

Module NameModule Function Overview
setMessageListenerSet message listener
setBatchMsgListenerSet batch message listener
createTextMessageCreate text message
createTextAtMessageCreate @ message
createImageMessageFromFullPathCreate image message from absolute path
createImageMessageByURLCreate image message by uploading the file
createImageMessageByFileCreate image message using a file object (web)
createSoundMessageFromFullPathCreate voice message from absolute path
createSoundMessageByURLCreate voice message by uploading the file
createSoundMessageByFileCreate voice message using a file object (web)
createVideoMessageFromFullPathCreate video message from absolute path
createVideoMessageByURLCreate video message by uploading the file
createVideoMessageByFileCreate video message using a file object (web)
createFileMessageFromFullPathCreate file message from absolute path
createFileMessageByURLCreate file message by uploading the file
createFileMessageByFileCreate file message using a file object (web)
createMergeMessageCreate combined message
createForwardMessageCreate forwarded message
createLocationMessageCreate location message
createQuoteMessageCreate quote message
createCardMessageCreate card message
createCustomMessageCreate custom message
createFaceMessageCreate emoji message
sendMessageSend message
sendMessageNotOssSend message without SDK built-in OSS for multimedia file upload
typingStatusUpdateTyping status update for private chat
revokeMessageRevoke a message
deleteMessageDelete a message
deleteMessageFromLocalStorageDelete a message locally
deleteAllMsgFromLocalDelete all messages locally
deleteAllMsgFromLocalAndSvrDelete all messages
searchLocalMessagesSearch for local messages
getAdvancedHistoryMessageListRetrieve the message list within a conversation
getAdvancedHistoryMessageListReverseRetrieve the message list in reverse within a conversation
findMessageListFind message list
insertSingleMessageToLocalStorageInsert a single chat message locally
insertGroupMessageToLocalStorageInsert a group chat message locally
setMessageLocalExSet message extension information