import { whopSdk } from "@/lib/whop-sdk"; const result = await whopSdk.messages.sendDirectMessageToUser({ toUserIdOrUsername: "xxxxxxxxxxx" /* Required! */, message: "some string" /* Required! */, });
Example output:
const response = "some string";
Was this page helpful?