View Source Nostrum.Struct.Event.ThreadListSync (Nostrum v0.10.0)
Struct representing a Thread List Sync event.
This event is sent when the user gains access to a channel.
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.
All active threads in the given channels that the user can access.
Types
@type 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.
@type guid_id() :: Nostrum.Struct.Guild.id()
The id of the guild.
@type members() :: [Nostrum.Struct.ThreadMember.t()]
All thread member objects from the synced threads for the current user, indicating which threads the user has been added to.
@type t() :: %Nostrum.Struct.Event.ThreadListSync{ channel_ids: channel_ids(), guild_id: guid_id(), members: members(), threads: threads() }
@type threads() :: [Nostrum.Struct.Channel.t()]
All active threads in the given channels that the user can access.