queryPinnedMessageList abstract method

Future<ZIMPinnedMessageListQueriedResult> queryPinnedMessageList(
  1. String conversationID,
  2. ZIMConversationType conversationType
)

Query pinned message list.

Available since: 2.25.0 and above. Description: This method is used to query the list of pinned messages. Use cases: When you need to display pinned messages, you can call this interface to query the list of pinned messages within a conversation. When to call: Called when pinned messages need to be queried. Restrictions: The SDK must be logged in and the message pinning feature must be supported to use this interface. Related callbacks: ZIMPinnedMessageListQueriedResult.

  • conversationID Conversation ID.
  • conversationType Conversation type.

Implementation

Future<ZIMPinnedMessageListQueriedResult> queryPinnedMessageList(
  String conversationID,
  ZIMConversationType conversationType,
);