Skip to main content

DiscordThreadListSync

Documentation


Documentation / @discordeno/types / DiscordThreadListSync

Interface: DiscordThreadListSync

Defined in: discord/gateway.ts:383

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

Properties

channel_ids?

optional channel_ids?: string[]

Defined in: discord/gateway.ts:387

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: discord/gateway.ts:385

The id of the guild


members

members: DiscordThreadMember[]

Defined in: discord/gateway.ts:391

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: discord/gateway.ts:389

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