method Functions.prototype.updateRe-exportimport { Functions } from "https://deno.land/x/appwrite@6.0.0/mod.ts"; update(functionId: string,name: string,execute: string[],events?: string[],schedule?: string,timeout?: number,enabled?: boolean,): Promise<Models.Function>Update Function Update function by its unique ID. ParametersfunctionId: stringname: stringexecute: string[]optionalevents: string[]optionalschedule: stringoptionaltimeout: numberoptionalenabled: booleanReturnsPromise<Models.Function>