uploadMedia static method
Uploads 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 upload.
Returns a Future that completes with a true
value if the media upload
is starts.
Throws an ArgumentError if the messageId
parameter is not provided.
Implementation
static Future<bool?> uploadMedia({required String messageId}) {
return FlyChatFlutterPlatform.instance.uploadMedia(messageId);
}