MessengerShare class

Constructors

MessengerShare()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessageToMessenger({required String message, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? quote}) Future
Send text message (on Android) and link content (on iOS) to Messenger method. The method required a message string.
shareFileToMessenger({required String? filePath, required String fileProviderPath, required AssetType fileType, String? dstPath, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? contentUrl, String? previewImagePath}) Future
Share local file (video or image) to Messenger method.
shareLinkContentToMessenger({required String contentUrl, String? pageId, String? ref, List<String>? peopleIds, String? placeId, String? hashtag, String? quote}) Future
Share a link content to Messenger method. You can provide a link of the content you want to share using contentUrl property.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited