method Users.prototype.listTargetsimport { Users } from "https://deno.land/x/appwrite@10.0.0/src/services/users.ts"; listTargets(userId: string, queries?: string[]): Promise<Models.TargetList>List User Targets List the messaging targets that are associated with a user. ParametersuserId: stringoptionalqueries: string[]ReturnsPromise<Models.TargetList>