import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function sendMessage(string message, string phoneNumber)",
params: [message, phoneNumber]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});