@textile/hub > Users > listThreads
Users.listThreads() method
Lists a users existing threads. This method requires a valid user, token, and session.
Signature:
listThreads(): Promise<Array<GetThreadResponse>>;
Returns:
Promise<Array<GetThreadResponse>>
Example
import { Users } from "@textile/hub"
async function example(users: Users) {
const list = await users.listThreads()
}