ChannelClient

public abstract class ChannelClient

获取消息通知免打扰时间。

Since

5.2.2

Constructors

Link copied to clipboard
public void ChannelClient()

Functions

Link copied to clipboard
public abstract void cleanHistoryMessages(ConversationType conversationType, String targetId, String channelId, long recordTime, boolean cleanRemote, IRongCoreCallback.OperationCallback callback)
Deletes messages before the specified timestamp, with the option to delete server-side messages as well.
Link copied to clipboard
public abstract void cleanRemoteHistoryMessages(ConversationType conversationType, String targetId, String channelId, long recordTime, IRongCoreCallback.OperationCallback callback)
Clears historical messages stored on the server.
Link copied to clipboard
public abstract void clearConversations(IRongCoreCallback.ResultCallback<Boolean> callback, String channelId, Array<ConversationType> conversationTypes)
Clears all conversations and conversation information of the specified conversation types.
Link copied to clipboard
public abstract void clearMessages(List<ClearMessageOption> clearMessageOptions, IRongCoreCallback.ResultCallback<Boolean> callback)
Asynchronously deletes all local database messages in the specified conversations that were sent on or before the given timestamp.
public abstract void clearMessages(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
Deletes all messages in a specified conversation.
Link copied to clipboard
public abstract void clearMessagesUnreadStatus(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
public abstract void clearMessagesUnreadStatus(ConversationType conversationType, String targetId, String channelId, long timestamp, IRongCoreCallback.OperationCallback callback)
Clears the unread message count for a specific conversation.
Link copied to clipboard
public abstract void clearRemoteMessages(List<ClearMessageOption> clearMessageOptions, boolean isDeleteLocal, IRongCoreCallback.OperationCallback callback)
Asynchronously deletes all remote messages in the specified conversation on the server that were sent before or at the specified timestamp (local messages can also be deleted).
Link copied to clipboard
public abstract void clearTextMessageDraft(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
Deletes draft information in the specified conversation.
Link copied to clipboard
public abstract void deleteMessages(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
Deletes all messages in a specific conversation.
Link copied to clipboard
public abstract void deleteRemoteMessages(ConversationType conversationType, String targetId, String channelId, Array<Message> messages, IRongCoreCallback.OperationCallback callback)
Batch deletes specified remote messages in a conversation (also deletes corresponding local messages).
Link copied to clipboard
public abstract void deleteRemoteUltraGroupMessages(String targetId, String channelId, long timestamp, IRongCoreCallback.OperationCallback callback)
Deletes messages before a specific timestamp in a specific channel on the server
Link copied to clipboard
public abstract void deleteUltraGroupMessages(String targetId, String channelId, long timestamp, IRongCoreCallback.ResultCallback<Boolean> callback)
Deletes local messages before a specific time for a particular channel.
Link copied to clipboard
public abstract void deleteUltraGroupMessagesForAllChannel(String targetId, long timestamp, IRongCoreCallback.ResultCallback<Boolean> callback)
Deletes all local messages before a specific timestamp for a given channel
Link copied to clipboard
public abstract void downloadMedia(ConversationType conversationType, String targetId, String channelId, IRongCoreEnum.MediaType mediaType, String imageUrl, IRongCoreCallback.DownloadMediaCallback callback)
Downloads multimedia files.
Link copied to clipboard
public abstract void getBatchLocalMessages(ConversationType conversationType, String targetId, String channelId, List<String> messageUIDs, IRongCoreCallback.IGetMessagesByUIDsCallback callback)
Link copied to clipboard
Fetch batch messages from the service
Link copied to clipboard
public abstract void getBlockedConversationList(IRongCoreCallback.ResultCallback<List<Conversation>> callback, String channelId, Array<ConversationType> conversationTypes)
Retrieves the list of Do Not Disturb conversations.
Link copied to clipboard
public abstract void getConversation(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Conversation> callback)
Retrieve information for a single conversation.
Link copied to clipboard
public abstract void getConversationChannelNotificationLevel(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<IRongCoreEnum.PushNotificationLevel> callback)
Retrieves the message reminder status for a conversation.
Link copied to clipboard
public abstract void getConversationList(IRongCoreCallback.ResultCallback<List<Conversation>> callback, String channelId)
Retrieves the local conversation list of the current user.
public abstract void getConversationList(String channelId, IRongCoreCallback.ResultCallback<List<Conversation>> callback, Array<ConversationType> conversationTypes)
Retrieves the local conversation list of the current user based on the conversation type.
Link copied to clipboard
public abstract void getConversationListByPage(IRongCoreCallback.ResultCallback<List<Conversation>> callback, long timeStamp, int count, String channelId, Array<ConversationType> conversationTypes)
Fetches the conversation list in a paginated manner.
public abstract void getConversationListByPage(IRongCoreCallback.ResultCallback<List<Conversation>> callback, long timeStamp, int count, String channelId, boolean topPriority, Array<ConversationType> conversationTypes)
Retrieves the conversation list in a paginated manner.
Link copied to clipboard
public abstract void getConversationListForAllChannel(ConversationType conversationType, String targetId, IRongCoreCallback.ResultCallback<List<Conversation>> callback)
Retrieves the conversation list of all channels under a specific conversation (supports one-to-one chat, group chat, and ultra group, but not chatroom).
Link copied to clipboard
public abstract void getConversationListWithAllChannel(IRongCoreCallback.ResultCallback<List<Conversation>> callback, Array<ConversationType> conversationTypes)
Link copied to clipboard
public abstract void getConversationListWithAllChannelByPage(IRongCoreCallback.ResultCallback<List<Conversation>> callback, Array<ConversationType> conversationTypes, long timeStamp, int count)
Link copied to clipboard
public abstract void getConversationNotificationLevel(ConversationType conversationType, String targetId, IRongCoreCallback.ResultCallback<IRongCoreEnum.PushNotificationLevel> callback)
Retrieves the Do Not Disturb status of a specified conversation.
Link copied to clipboard
public abstract void getConversationNotificationStatus(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<ConversationNotificationStatus> callback)
Retrieves the message reminder status of a conversation.
Link copied to clipboard
public abstract void getConversations(List<ConversationIdentifier> conversationIdentifiers, IRongCoreCallback.ResultCallback<List<Conversation>> callback)
Method to retrieve the conversation list.
Link copied to clipboard
public abstract void getConversationTopStatus(String targetId, ConversationType conversationType, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
Retrieves the pinned status of a conversation.
Link copied to clipboard
public abstract void getConversationTypeNotificationLevel(ConversationType conversationType, IRongCoreCallback.ResultCallback<IRongCoreEnum.PushNotificationLevel> callback)
Retrieves the Do Not Disturb status for a specified conversation type.
Link copied to clipboard
public abstract void getGroupMessageDeliverList(String uid, String targetId, String channelId, IRongCoreListener.IGetGroupMessageDeliverListCallback callback)
Get the delivery list of group messages (only supports group messages) Only queries messages in the local database where the UID exists, the sending direction is SEND, and the recipient has received the message.
Link copied to clipboard
public abstract void getHistoryMessages(ConversationType conversationType, String targetId, int oldestMessageId, int count, String channelId, IRongCoreCallback.ResultCallback<List<Message>> callback)
Retrieves the latest message entities of the specified type from a conversation, starting before a specified message and limited by a specified count.
public abstract void getHistoryMessages(ConversationType conversationType, String targetId, String channelId, String objectName, int oldestMessageId, int count, IRongCoreCallback.ResultCallback<List<Message>> callback)
public abstract void getHistoryMessages(ConversationType conversationType, String targetId, String channelId, String objectName, int baseMessageId, int count, RongCommonDefine.GetMessageDirection direction, IRongCoreCallback.ResultCallback<List<Message>> callback)
Retrieves a list of messages in the conversation that meet the specified criteria.
public abstract void getHistoryMessages(ConversationType conversationType, String targetId, String channelId, long sentTime, int before, int after, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for a specified number of messages before before and after after a specified message in a conversation.
public abstract void getHistoryMessages(ConversationType conversationType, String targetId, String channelId, List<String> objectNames, long timestamp, int count, RongCommonDefine.GetMessageDirection direction, IRongCoreCallback.ResultCallback<List<Message>> callback)
Retrieves a list of messages that meet the specified criteria in the conversation.
Link copied to clipboard
public static ChannelClient getInstance()
Link copied to clipboard
public abstract void getLatestMessages(ConversationType conversationType, String targetId, String channelId, int count, IRongCoreCallback.ResultCallback<List<Message>> callback)
Retrieves the latest messages of a specified conversation.
Link copied to clipboard
public abstract void getMessageByUid(String uid, IRongCoreCallback.ResultCallback<Message> callback)
Retrieves the message entity by its globally unique ID.
Link copied to clipboard
public abstract void getMessageCount(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the total number of messages in a specified conversation.
Link copied to clipboard
public abstract void getMessageCountByTimeRange(String targetId, ConversationType conversationType, long startTime, long endTime, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the number of messages within a specified time range for a given conversation.
Link copied to clipboard
public abstract void getMessageReadReceiptV4(String targetId, String channelId, String messageUID, IRongCoreCallback.ResultCallbackEx<Integer, Integer, List<GroupMessageReader>> callback)
Get the list of users who have read the message (supports group chats)
Link copied to clipboard
public abstract void getMessages(ConversationType conversationType, String targetId, String channelId, HistoryMessageOption historyMessageOption, IRongCoreCallback.IGetMessageCallback callback)
Retrieves the historical messages of a specified conversation.
public abstract void getMessages(ConversationType conversationType, String targetId, String channelId, HistoryMessageOption historyMessageOption, IRongCoreCallback.IGetMessageCallbackEx getMessageCallback)
Fetches historical messages for a specified conversation.
Link copied to clipboard
Retrieves the Do Not Disturb time for message notifications.
public abstract void getNotificationQuietHoursLevel(IRongCoreCallback.ResultCallback<NotificationQuietHoursSetting> callback)
Link copied to clipboard
public abstract void getPrivateMessageDeliverTime(String uid, String channelId, IRongCoreCallback.ResultCallback<Long> callback)
Get the delivery time of a specific message in a one-to-one chat
Link copied to clipboard
public abstract void getRemoteHistoryMessages(ConversationType conversationType, String targetId, String channelId, RemoteHistoryMsgOption remoteHistoryMsgOption, IRongCoreCallback.ResultCallback<List<Message>> callback)
Retrieves the remote history messages for a specified conversation.
public abstract void getRemoteHistoryMessages(ConversationType conversationType, String targetId, String channelId, long dateTime, int count, IRongCoreCallback.ResultCallback<List<Message>> callback)
Retrieves historical messages before the specified time from the server.
Link copied to clipboard
public abstract void getTextMessageDraft(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<String> callback)
Retrieves draft information from the conversation.
Link copied to clipboard
public abstract void getTheFirstUnreadMessage(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Message> callback)
Retrieves the first unread message.
Link copied to clipboard
public abstract void getTopConversationList(IRongCoreCallback.ResultCallback<List<Conversation>> callback, String channelId, Array<ConversationType> conversationTypes)
Retrieves the pinned conversation list based on the conversation type.
Link copied to clipboard
public abstract void getTotalUnreadCount(String channelId, IRongCoreCallback.ResultCallback<Integer> callback)
Get the total count of unread messages across all conversations.
public abstract void getTotalUnreadCount(String channelId, boolean containBlocked, IRongCoreCallback.ResultCallback<Integer> callback)
Link copied to clipboard
public abstract Collection<TypingStatus> getTypingUserListFromConversation(ConversationType conversationType, String targetId, String channelId)
Get the list of users currently typing in the conversation
Link copied to clipboard
public abstract void getUltraGroupAllUnreadCount(IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of all unread messages for ultra group conversation types.
Link copied to clipboard
Get the unread mention count for ultra group conversation types
Link copied to clipboard
public abstract void getUltraGroupChannelList(String targetId, IRongCoreEnum.UltraGroupChannelType channelType, IRongCoreCallback.ResultCallback<List<Conversation>> callback)
Get the list of ultra group channels
Query the default notification configuration for a specified channel in an ultra group.
Query the default notification configuration for a specified ultra group
public abstract void getUltraGroupConversationListForAllChannel(IRongCoreCallback.ResultCallback<List<Conversation>> callback)
Retrieves the local conversation list of the current user for ultra groups.
Link copied to clipboard
public abstract void getUltraGroupConversationUnreadInfoList(Array<String> targetIds, IRongCoreCallback.ResultCallback<List<ConversationUnreadInfo>> callback)
Retrieves unread information for all channel conversations under each ultra group based on the provided TargetId array.
Link copied to clipboard
public abstract void getUltraGroupMessageCountByTimeRange(String targetId, Array<String> channelIds, long startTime, long endTime, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the number of messages within a specified time range for a given ultra group.
Link copied to clipboard
public abstract void getUltraGroupUnreadCount(String targetId, IRongCoreCallback.ResultCallback<Integer> callback)
Get the total count of unread messages across all channels in a specified ultra group
public abstract void getUltraGroupUnreadCount(String targetId, List<IRongCoreEnum.PushNotificationLevel> levels, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of unread messages for a specified ultra group conversation (including all channels).
Link copied to clipboard
public abstract void getUltraGroupUnreadMentionedCount(String targetId, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of unread @ mentions in an ultra group conversation.
public abstract void getUltraGroupUnreadMentionedCount(String targetId, List<IRongCoreEnum.PushNotificationLevel> levels, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of unread @ messages for a specified ultra group conversation (including all channels).
Link copied to clipboard
public abstract void getUltraGroupUnreadMentionedDigests(String targetId, String channelId, long sendTime, int count, IRongCoreCallback.ResultCallback<List<MessageDigestInfo>> callback)
Fetches the list of unread mention message digests for ultra group conversations.
Link copied to clipboard
public abstract void getUnreadConversationList(IRongCoreCallback.ResultCallback<List<Conversation>> callback, Array<ConversationType> conversationTypes)
Retrieves the list of unread local conversations for the current user based on the conversation type.
Link copied to clipboard
public abstract void getUnreadCount(IRongCoreCallback.ResultCallback<Integer> callback, String channelId, Array<ConversationType> conversationTypes)
Retrieves the total count of unread messages for specified conversation types.
public abstract void getUnreadCount(List<ConversationType> conversationTypes, List<IRongCoreEnum.PushNotificationLevel> levels, IRongCoreCallback.ResultCallback<Integer> callback)
Get the count of unread messages in conversations
public abstract void getUnreadCount(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of unread messages for a specified conversation.
public abstract void getUnreadCount(Array<ConversationType> conversationTypes, String channelId, boolean containBlocked, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieve the total count of unread messages for specified conversation types.
public abstract void getUnreadCount(String targetId, ConversationType conversationType, Array<String> objectNames, String channelId, IRongCoreCallback.ResultCallback<Integer> callback)
Retrieves the count of unread messages of specified types in a given conversation (excluding chatroom conversations).
Link copied to clipboard
public abstract void getUnreadMentionedCount(List<ConversationType> conversationTypes, List<IRongCoreEnum.PushNotificationLevel> levels, IRongCoreCallback.ResultCallback<Integer> callback)
Get the count of unread @ mentions in conversations
Link copied to clipboard
public abstract void getUnreadMentionedMessages(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<List<Message>> callback)
Fetches unread @ mentions in a conversation.
public abstract void getUnreadMentionedMessages(ConversationType conversationType, String targetId, String channelId, int count, boolean desc, IRongCoreCallback.ResultCallback<List<Message>> callback)
Link copied to clipboard
public abstract void insertIncomingMessage(ConversationType type, String targetId, String channelId, String senderUserId, ReceivedStatus receivedStatus, MessageContent content, long sentTime, IRongCoreCallback.ResultCallback<Message> resultCallback)
Inserts a message into the local conversation with the direction set as received.
Link copied to clipboard
public abstract void insertMessage(Message message, IRongCoreCallback.ResultCallback<Message> resultCallback)
Link copied to clipboard
public abstract void insertOutgoingMessage(ConversationType type, String targetId, String channelId, SentStatus sentStatus, MessageContent content, long sentTime, IRongCoreCallback.ResultCallback<Message> resultCallback)
Inserts a message into the local conversation with the direction set to sent.
public abstract void insertOutgoingMessage(ConversationType type, String targetId, String channelId, boolean canIncludeExpansion, SentStatus sentStatus, MessageContent content, long sentTime, IRongCoreCallback.ResultCallback<Message> resultCallback)
Link copied to clipboard
public abstract void modifyUltraGroupMessage(String msgUid, MessageContent content, IRongCoreCallback.OperationCallback callback)
Modify a message Note: This method can only modify messages of the same type within the same channel, and only messages sent by the user can be modified.
Link copied to clipboard
public abstract void recallUltraGroupMessage(Message message, IRongCoreCallback.ResultCallback<RecallNotificationMessage> callback)
public abstract void recallUltraGroupMessage(Message message, boolean isDelete, IRongCoreCallback.ResultCallback<RecallNotificationMessage> callback)
Recall ultra group message
Link copied to clipboard
public abstract void removeConversation(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
Removes a conversation from the conversation list.
Link copied to clipboard
public abstract void removeConversations(List<ConversationIdentifier> conversationIdentifiers, IRongCoreCallback.ResultCallback<Boolean> callback)
Removes a conversation from the conversation list in bulk.
Link copied to clipboard
Removes the Do Not Disturb period for message notifications.
Link copied to clipboard
public abstract void removeRemoteConversations(List<ConversationIdentifier> conversationIdentifiers, IRongCoreCallback.OperationCallback callback)
Delete remote conversation list
Link copied to clipboard
public abstract void removeUltraGroupMessageExpansion(String messageUId, List<String> keyArray, IRongCoreCallback.OperationCallback callback)
Deletes specific key-value pairs from the extension information of an ultra group message
Link copied to clipboard
public abstract void saveTextMessageDraft(ConversationType conversationType, String targetId, String channelId, String content, IRongCoreCallback.ResultCallback<Boolean> callback)
Save the draft information of a conversation.
Link copied to clipboard
public abstract void searchConversationForAllChannel(String keyword, Array<ConversationType> conversationTypes, Array<String> objName, IRongCoreCallback.ResultCallback<List<SearchConversationResult>> callback)
Link copied to clipboard
public abstract void searchConversations(String keyword, Array<ConversationType> conversationTypes, String channelId, Array<String> objectNames, IRongCoreCallback.ResultCallback<List<SearchConversationResult>> resultCallback)
Search conversations based on keywords.
Link copied to clipboard
public abstract void searchMessageByTimestampForAllChannel(String targetId, ConversationType conversationType, String keyword, long startTime, long endTime, int offset, int limit, IRongCoreCallback.ResultCallback<List<Message>> callback)
Link copied to clipboard
public abstract void searchMessageForAllChannel(String targetId, ConversationType conversationType, String keyword, int count, long timestamp, IRongCoreCallback.ResultCallback<List<Message>> callback)
Link copied to clipboard
public abstract void searchMessages(ConversationIdentifier conversationIdentifier, String keyword, Array<String> objectNameList, int limit, long startTime, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for local historical messages of specified message types in a specific conversation based on keywords This method allows applications to search for messages in a specific conversation based on conditions such as keywords, object name lists, and time ranges.
public abstract void searchMessages(ConversationType conversationType, String targetId, String channelId, String keyword, int count, long beginTime, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for messages in a specified conversation based on a keyword.
public abstract void searchMessages(ConversationType conversationType, String targetId, String channelId, String keyword, long startTime, long endTime, int offset, int limit, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for messages in a specified conversation within a given time range based on keywords.
Link copied to clipboard
public abstract void searchMessagesByUser(ConversationType conversationType, String targetId, String channelId, String userId, int count, long beginTime, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for messages in a specified conversation based on user ID.
Link copied to clipboard
public abstract void searchMessagesByUserForAllChannel(ConversationType conversationType, String targetId, String userId, long startTime, int limit, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Search for messages in a specified conversation based on conversation ID, user ID, etc.
Link copied to clipboard
public abstract void searchMessagesByUserForChannels(ConversationType conversationType, String targetId, Array<String> channelIds, String userId, long startTime, int limit, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for messages in a specified conversation based on conversation ID, business identifier, user ID, etc.
Link copied to clipboard
public abstract void searchMessagesForChannels(ConversationType conversationType, String targetId, Array<String> channelIds, String keyword, long startTime, int limit, IRongCoreCallback.ResultCallback<List<Message>> resultCallback)
Searches for messages in a specified conversation based on user ID, conversation business identifier, keyword, etc.
Link copied to clipboard
public abstract void sendDirectionalMediaMessage(Message message, Array<String> userIds, String pushContent, String pushData, IRongCoreCallback.ISendMediaMessageCallback callback)
Sends a targeted multimedia message.
Link copied to clipboard
public abstract void sendDirectionalMessage(Message message, Array<String> userIds, String pushContent, String pushData, SendMessageOption option, IRongCoreCallback.ISendMessageCallback callback)
Sends a targeted message.
public abstract void sendDirectionalMessage(ConversationType type, String targetId, String channelId, MessageContent content, Array<String> userIds, String pushContent, String pushData, SendMessageOption option, IRongCoreCallback.ISendMessageCallback callback)
Send a targeted message.
Link copied to clipboard
public abstract void sendImageMessage(ConversationType type, String targetId, String channelId, MessageContent content, String pushContent, String pushData, IRongCoreCallback.SendImageMessageCallback callback)
Sends an image message.
Link copied to clipboard
public abstract void sendMessage(ConversationType type, String targetId, String channelId, MessageContent content, String pushContent, String pushData, IRongCoreCallback.ISendMessageCallback callback)
Sends a message based on the conversation type.
Link copied to clipboard
public abstract void sendReadReceiptMessage(ConversationType conversationType, String targetId, String channelId, long timestamp)
public abstract void sendReadReceiptMessage(ConversationType conversationType, String targetId, String channelId, long timestamp, IRongCoreCallback.ISendMessageCallback callback)
Sends a read receipt for messages in a specific conversation.
Link copied to clipboard
public abstract void sendReadReceiptMessageV4(ConversationType conversationType, String targetId, String channelId, String startMessageUID, String endMessageUID, IRongCoreCallback.OperationCallback callback)
Send read receipt v4 (supports one-to-one and group chat)
Link copied to clipboard
public abstract void sendReadReceiptResponse(ConversationType type, String targetId, String channelId, List<Message> messageList, IRongCoreCallback.OperationCallback callback)
Send read receipt (only supported for groups and discussion groups).
Link copied to clipboard
public abstract void sendTypingStatus(ConversationType conversationType, String targetId, String channelId, String typingContentType)
Sends a typing status to the conversation.
Link copied to clipboard
public abstract void sendUltraGroupTypingStatus(String targetId, String channelId, IRongCoreEnum.UltraGroupTypingStatus typingStatus, IRongCoreCallback.OperationCallback callback)
Sends ultra group typing status
Link copied to clipboard
public abstract void setConversationChannelNotificationLevel(ConversationType conversationType, String targetId, String channelId, IRongCoreEnum.PushNotificationLevel level, IRongCoreCallback.OperationCallback callback)
Sets the message reminder status for a conversation.
Link copied to clipboard
public abstract void setConversationNotificationLevel(ConversationType conversationType, String targetId, IRongCoreEnum.PushNotificationLevel level, IRongCoreCallback.OperationCallback callback)
Specifies the Do Not Disturb settings for a conversation.
Link copied to clipboard
public abstract void setConversationNotificationStatus(ConversationType conversationType, String targetId, String channelId, ConversationNotificationStatus notificationStatus, IRongCoreCallback.ResultCallback<ConversationNotificationStatus> callback)
Sets the message notification status for a conversation.
Link copied to clipboard
public abstract void setConversationsNotificationLevel(List<ConversationIdentifier> conversationIdentifiers, IRongCoreEnum.PushNotificationLevel level, IRongCoreCallback.OperationCallback callback)
Asynchronously batch sets the message notification status for conversations.
Link copied to clipboard
public abstract void setConversationsToTop(List<ConversationIdentifier> conversationIdentifiers, boolean isTop, boolean needCreate, IRongCoreCallback.ResultCallback<Boolean> callback)
Asynchronously batch sets the top status of conversations
Link copied to clipboard
public abstract void setConversationToTop(ConversationType conversationType, String targetId, String channelId, boolean isTop, IRongCoreCallback.ResultCallback<Boolean> callback)
@Deprecated()
public abstract void setConversationToTop(ConversationType conversationType, String targetId, String channelId, boolean isTop, boolean needCreate, IRongCoreCallback.ResultCallback<Boolean> callback)
public abstract void setConversationToTop(ConversationType conversationType, String id, String channelId, boolean isTop, boolean needCreate, boolean needUpdateTime, IRongCoreCallback.ResultCallback<Boolean> callback)
Sets the pinned status of a conversation.
Link copied to clipboard
public abstract void setConversationTypeNotificationLevel(ConversationType conversationType, IRongCoreEnum.PushNotificationLevel level, IRongCoreCallback.OperationCallback callback)
Specifies Do Not Disturb settings for a specific conversation type Configures Do Not Disturb settings for specific conversation types.
Link copied to clipboard
public abstract void setNotificationQuietHoursLevel(NotificationQuietHoursSetting setting, IRongCoreCallback.OperationCallback callback)
设置消息通知免打扰时间。
public abstract void setNotificationQuietHoursLevel(String startTime, int spanMinutes, IRongCoreEnum.PushNotificationQuietHoursLevel level, IRongCoreCallback.OperationCallback callback)
Sets the Do Not Disturb time for message notifications.
Link copied to clipboard
public abstract void setReadTimestamp(ConversationIdentifier conversationIdentifier, long timestamp, IRongCoreCallback.OperationCallback callback)
Sets the read timestamp for a real-time conversation
Link copied to clipboard
Sets the listener for multi-device synchronization of conversation read status.
Link copied to clipboard
Ultra group channel event listener
Link copied to clipboard
Set the ultra group conversation listener
Link copied to clipboard
Sets the ultra group message change listener
Link copied to clipboard
Sets the ultra group read time callback listener.
Link copied to clipboard
Sets the ultra group input status listener
Link copied to clipboard
public abstract void setUserGroupStatusListener(IRongCoreListener.UserGroupStatusListener userGroupStatusListener)
Sets the user group status listener
Link copied to clipboard
public abstract void syncConversationReadStatus(ConversationType type, String targetId, String channelId, long timestamp, IRongCoreCallback.OperationCallback callback)
Synchronizes the read status of a conversation.
Link copied to clipboard
public abstract void syncUltraGroupReadStatus(String targetId, String channelId, long timestamp, IRongCoreCallback.OperationCallback callback)
Report the read timestamp of an ultra group
Link copied to clipboard
public abstract void updateConversationInfo(ConversationType conversationType, String targetId, String channelId, String title, String portrait, IRongCoreCallback.ResultCallback<Boolean> callback)
Updates conversation information.
Link copied to clipboard
public abstract void updateUltraGroupMessageExpansion(Map<String, String> expansion, String messageUId, IRongCoreCallback.OperationCallback callback)
Update the extension information of an ultra group message Each message can carry a maximum of 300 key-value pairs of extension information.