import { Account } from "https://deno.land/x/appwrite@12.1.0/mod.ts";
Update phone session
Use this endpoint to create a session from token. Provide the userId and secret parameters from the successful response of authentication flows initiated by token creation. For example, magic URL and phone login.
Returns
Promise<Models.Session>