deleteUnreadMessageSeparatorOfAConversation static method

Future<bool?> deleteUnreadMessageSeparatorOfAConversation({
  1. required String jid,
})

Deletes the unread message separator of a conversation.

This method deletes the unread message separator for the specified conversation identified by the JID.

The jid parameter specifies the JID of the conversation from which to delete the unread message(Notification message type)separator.

Returns a Future that completes with a boolean value indicating whether the operation was successful.

Example usage:

await Mirrorfly.deleteUnreadMessageSeparatorOfAConversation(jid: 'conversation_jid');

Implementation

static Future<bool?> deleteUnreadMessageSeparatorOfAConversation(
    {required String jid}) {
  return FlyChatFlutterPlatform.instance
      .deleteUnreadMessageSeparatorOfAConversation(jid);
}