import { Account } from "https://deno.land/x/appwrite@9.1.0/mod.ts";
Update phone
Update the currently logged in user's phone number. After updating the phone number, the phone verification status will be reset. A confirmation SMS is not sent automatically, however you can use the POST /account/verification/phone endpoint to send a confirmation SMS.
Type Parameters
Preferences extends Models.Preferences
Returns
Promise<Models.User<Preferences>>