View Source Nostrum.Struct.Event.ThreadListSync (Nostrum v0.6.1)

Struct representing a Thread List Sync event.

This event is sent when the user gains access to a channel.

Link to this section Summary

Types

The parent channel ids whose threads are being synced. If omitted, all threads were synced for the entire guild.

The id of the guild.

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

t()

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

Link to this section Types

Specs

channel_ids() :: [Nostrum.Struct.Channel.id()] | nil

The parent channel ids whose threads are being synced. If omitted, all threads were synced for the entire guild.

Specs

guid_id() :: Nostrum.Struct.Guild.id()

The id of the guild.

Specs

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

Specs

t() :: %Nostrum.Struct.Event.ThreadListSync{
  channel_ids: channel_ids(),
  guild_id: guid_id(),
  members: members(),
  threads: threads()
}

Specs

threads() :: [Nostrum.Struct.Channel.t()]

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