View Source Nostrum.Struct.Event.ThreadListSync (Nostrum v0.9.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.

t()

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

Types

Link to this type

channel_ids()

View Source (since 0.5.1)
@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.

Link to this type

guid_id()

View Source (since 0.5.1)
@type guid_id() :: Nostrum.Struct.Guild.id()

The id of the guild.

Link to this type

members()

View Source (since 0.5.1)
@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()
}
Link to this type

threads()

View Source (since 0.5.1)
@type threads() :: [Nostrum.Struct.Channel.t()]

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