Skip to main content

DiscordThreadListSync

@discordeno/bot


Documentation / @discordeno/bot / DiscordThreadListSync

Interface: DiscordThreadListSync

Defined in: packages/types/dist/types/discord/gateway.d.ts:268

https://discord.com/developers/docs/events/gateway-events#thread-list-sync-thread-list-sync-event-fields

Properties

channel_ids?

optional channel_ids: string[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:272

The parent channel ids whose threads are being synced. If omitted, then threads were synced for the entire guild. This array may contain channelIds that have no active threads as well, so you know to clear that data


guild_id

guild_id: string

Defined in: packages/types/dist/types/discord/gateway.d.ts:270

The id of the guild


members

members: DiscordThreadMember[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:276

All thread member objects from the synced threads for the current user, indicating which threads the current user has been added to


threads

threads: DiscordChannel[]

Defined in: packages/types/dist/types/discord/gateway.d.ts:274

All active threads in the given channels that the current user can access