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