downloadMedia static method

dynamic downloadMedia({
  1. required String messageId,
})

Download media associated with a message to the Mirrorfly chat platform.

The messageId parameter specifies the unique identifier of the message for which the media is start Download.

Returns a Future that completes with a true value if the media Download is starts.

Throws an ArgumentError if the messageId parameter is not provided.

Implementation

static downloadMedia({required String messageId}) {
  return FlyChatFlutterPlatform.instance.downloadMedia(messageId);
}