ReadReceiptV5Handler

Data handler for V5 read-receipt operations.

Manages sending, receiving, and displaying V5 read receipts for direct and group channels.

Since

5.30.0

Constructors

Link copied to clipboard
public void ReadReceiptV5Handler()

Properties

Link copied to clipboard
public final static DataKey<HashMap<String, ReadReceiptInfo>> KEY_GET_MESSAGE_READ_RECEIPT_INFO_V5
Data key for V5 read-receipt info queried when loading messages; falls through immediately if V5 is not enabled.
public final static DataKey<HashMap<String, ReadReceiptInfo>> KEY_GET_MESSAGE_READ_RECEIPT_INFO_V5_BY_IDENTIFIER
Data key for querying V5 read-receipt info of the last direct-channel message in the channel list.
Link copied to clipboard
public final static DataKey<HashMap<String, ReadReceiptInfo>> KEY_MESSAGE_READ_RECEIPT_V5_LISTENER
Data key for V5 read-receipt listener events that trigger a UI refresh.

Functions

Link copied to clipboard
public void bindConversation(ChannelIdentifier id)
Binds a channel for batch read-receipt submission.
Link copied to clipboard
public void getMessageReadReceiptInfo(ChannelIdentifier id, List<Message> messages)
Batch-fetches V5 read-receipt info for the given messages.
Link copied to clipboard
public void getMessageReadReceiptInfoByIdentifiers(List<MessageIdentifier> identifiers)
Entry point for fetching V5 read-receipt info by message identifiers.
Link copied to clipboard
public void getMessageReadReceiptInfoByNcIdentifiers(List<MessageIdentifier> ncIdentifiers)
Entry point for fetching V5 read-receipt info by nexconn MessageIdentifier.
Link copied to clipboard
public void sendReadReceiptResponseV5(Message message)
Sends a V5 read-receipt response for the given message.
Link copied to clipboard
public void stop()
Link copied to clipboard
public static HashMap<String, ReadReceiptInfo> toNcReceiptMap(HashMap<String, ReadReceiptInfo> data)
Converts a ReadReceiptInfo HashMap for data-bridge use by channel-list and other modules.