Share.sendMessage
Functional API
shareYou can use the same feature with it as well.
Feature description
Open the native share sheet to share a message. messageIf you pass in text to share, a list of apps the user can choose from will be displayed.
Type
Share.sendMessage(message: { message: string }): Promise<void>;Params
{
message: string;
}Response
None.
Example code
JavaScript
import { Share } from "@apps-in-toss/web-framework";
await Share.sendMessage({ message: "This is the message to share." });Was this helpful?