threads_list_members
threads_list_members
Section titled “threads_list_members”Category: threads
List members of a thread.
When to use
Section titled “When to use”- Audit who is in a private thread; build mention lists.
When NOT to use
Section titled “When NOT to use”| Field | Type | Required | Description |
|---|---|---|---|
thread_id | string | yes | Thread to list members for |
with_member | boolean | no | Whether Discord should hydrate the underlying guild member object |
after | string | no | Pagination cursor: get members with id > this |
limit | integer | no | Max results (1-100, default 100) |
Returns
Section titled “Returns”\{members:[\{user_id, join_timestamp, flags\}], count, thread_id\}.
Output schema
Section titled “Output schema”| Field | Type | Required | Description |
|---|---|---|---|
members | array | yes | |
count | integer | yes | |
thread_id | string | yes | Discord channel ID (snowflake) |
Annotations
Section titled “Annotations”| Property | Value |
|---|---|
| Read-only | yes |
| Destructive | no |
| Idempotent | yes |
| Open-world | yes |
| Confirmation required | no |