getMessageStatusOfASingleChatMessage static method

  1. @Deprecated('Instead of use Mirrorfly.getMessageStatusOf()')
Future<String> getMessageStatusOfASingleChatMessage(
  1. String messageID
)

This method fetches the status of the specified single chat message. Note that this method is deprecated and it is recommended to use Mirrorfly.getMessageStatusOf() instead.

Params:

  • messageID: The ID of the message.

Returns:

  • A Future<String> that completes with the status of the message.

Usage example:

String messageID = "your_message_id";
Mirrorfly.getMessageStatusOfASingleChatMessage(messageID).then((messageStatus) {
  // Handle the status of the single chat message
  print("Message status: $messageStatus");
});

Implementation

@Deprecated('Instead of use Mirrorfly.getMessageStatusOf()')
static Future<String> getMessageStatusOfASingleChatMessage(String messageID) {
  return FlyChatFlutterPlatform.instance
      .getMessageStatusOfASingleChatMessage(messageID);
}